80 lines
2.2 KiB
JSON
80 lines
2.2 KiB
JSON
{
|
|
"name": "heti",
|
|
"version": "0.8.2",
|
|
"description": "赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。",
|
|
"main": "lib/heti.scss",
|
|
"files": [
|
|
"umd",
|
|
"js",
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"start": "node-sass -w --output-style=expanded _site/scss/ -o _site/",
|
|
"compile": "rollup -c -w",
|
|
"build:style": "node-sass --output-style=compressed lib/heti.scss umd/heti.min.css",
|
|
"build:site": "node-sass --output-style=expanded _site/scss/ -o _site/",
|
|
"build:script": "rollup -c",
|
|
"build": "npm run build:style && npm run build:site && 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.1",
|
|
"rollup": "^1.32.1",
|
|
"rollup-plugin-terser": "^5.3.1",
|
|
"stylelint": "^13.13.1",
|
|
"stylelint-config-recommended-scss": "^4.3.0",
|
|
"stylelint-config-standard": "^22.0.0",
|
|
"stylelint-scss": "^3.21.0"
|
|
},
|
|
"stylelint": {
|
|
"extends": [
|
|
"stylelint-config-standard",
|
|
"stylelint-config-recommended-scss"
|
|
],
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"at-rule-empty-line-before": null,
|
|
"block-opening-brace-space-before": "always",
|
|
"block-closing-brace-newline-after": [
|
|
"always",
|
|
{
|
|
"ignoreAtRules": [
|
|
"if",
|
|
"else"
|
|
]
|
|
}
|
|
],
|
|
"rule-empty-line-before": null,
|
|
"selector-type-no-unknown": [
|
|
true,
|
|
{
|
|
"ignore": [
|
|
"custom-elements"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|