heti/package.json
2020-05-04 23:29:03 +08:00

75 lines
2 KiB
JSON

{
"name": "heti",
"version": "0.7.0",
"description": "赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。",
"main": "lib/heti.scss",
"files": [
"umd",
"js",
"lib"
],
"scripts": {
"start": "node-sass -w --output-style=expanded lib/heti.scss _site/heti.css",
"compile": "rollup -c -w",
"build:site": "node-sass _site/scss/index.scss _site/index.css --output-style=compact",
"build:style": "node-sass lib/heti.scss umd/heti.min.css --output-style=compressed",
"build:script": "rollup -c",
"build": "npm run build:style && npm run build:style && npm run build:script",
"test": "npx stylelint --config package.json 'lib/**/*.scss'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sivan/heti.git"
},
"keywords": [
"typography",
"clreq",
"css",
"sass",
"scss"
],
"author": "Sivan <sun.sivan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/sivan/heti/issues"
},
"homepage": "https://github.com/sivan/heti#readme",
"dependencies": {
"heti-findandreplacedomtext": "^0.5.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"node-sass": "^4.14.0",
"rollup": "^1.32.1",
"rollup-plugin-terser": "^5.3.0",
"stylelint": "^13.3.3",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-scss": "^3.17.1"
},
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss"
],
"rules": {
"no-descending-specificity": [
true,
{
"ignore": [
"selectors-within-list"
]
}
],
"selector-type-no-unknown": [
true,
{
"ignore": [
"custom-elements"
]
}
]
}
}
}