heti/package.json

75 lines
1.9 KiB
JSON
Raw Normal View History

2020-02-11 20:47:29 +08:00
{
"name": "heti",
2020-03-04 14:12:59 +08:00
"version": "0.4.1",
2020-02-20 20:53:26 +08:00
"description": "赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。",
"main": "lib/heti.scss",
2020-02-21 01:49:22 +08:00
"files": [
2020-03-04 14:12:59 +08:00
"dist",
2020-02-21 01:49:22 +08:00
"add-ons",
"lib"
],
2020-02-11 20:47:29 +08:00
"scripts": {
2020-02-21 01:49:22 +08:00
"start": "node-sass -w --output-style=expanded lib/heti.scss _site/heti.css",
"compile": "rollup -c -w",
"build:style": "node-sass lib/heti.scss dist/heti.min.css --output-style=compressed",
"build:script": "rollup -c",
"build": "npm run build:style && npm run build:script",
2020-02-20 21:38:46 +08:00
"test": "npx stylelint --config package.json 'lib/**/*.scss'"
2020-02-11 20:47:29 +08:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/sivan/heti.git"
},
"keywords": [
2020-02-20 21:13:51 +08:00
"typography",
"clreq",
"css",
"sass",
"scss"
2020-02-11 20:47:29 +08:00
],
"author": "Sivan <sun.sivan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/sivan/heti/issues"
},
"homepage": "https://github.com/sivan/heti#readme",
2020-02-21 01:49:22 +08:00
"dependencies": {
"findandreplacedomtext": "^0.4.6"
},
2020-02-11 20:47:29 +08:00
"devDependencies": {
2020-02-21 01:49:22 +08:00
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
2020-02-11 20:47:29 +08:00
"node-sass": "^4.13.1",
2020-02-21 01:49:22 +08:00
"rollup": "^1.32.0",
"rollup-plugin-terser": "^5.2.0",
2020-02-11 20:47:29 +08:00
"stylelint": "^13.0.0",
"stylelint-config-recommended-scss": "^4.1.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-scss": "^3.13.0"
2020-02-20 20:53:26 +08:00
},
"stylelint": {
2020-02-21 01:49:22 +08:00
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss"
],
2020-02-20 20:53:26 +08:00
"rules": {
"no-descending-specificity": [
true,
{
2020-02-21 01:49:22 +08:00
"ignore": [
"selectors-within-list"
]
}
],
"selector-type-no-unknown": [
true,
{
"ignore": [
"custom-elements"
]
2020-02-20 20:53:26 +08:00
}
]
}
2020-02-11 20:47:29 +08:00
}
}