heti/package.json

81 lines
2.1 KiB
JSON
Raw Permalink Normal View History

2020-02-11 20:47:29 +08:00
{
"name": "heti",
2021-12-09 02:48:48 +08:00
"version": "0.9.2",
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:21:21 +08:00
"umd",
2020-03-04 14:30:43 +08:00
"js",
2020-02-21 01:49:22 +08:00
"lib"
],
2020-02-11 20:47:29 +08:00
"scripts": {
2022-12-19 22:01:13 +08:00
"start": "sass -w --no-source-map _site/scss/:_site/",
2020-02-21 01:49:22 +08:00
"compile": "rollup -c -w",
2022-12-19 22:01:13 +08:00
"build:style": "sass --no-source-map --style=compressed lib/heti.scss:umd/heti.min.css",
"build:site": "sass --no-source-map _site/scss/:_site/",
2020-02-21 01:49:22 +08:00
"build:script": "rollup -c",
2020-05-18 00:49:59 +08:00
"build": "npm run build:style && npm run build:site && 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": {
"heti-findandreplacedomtext": "^0.5.0"
2020-02-21 01:49:22 +08:00
},
2020-02-11 20:47:29 +08:00
"devDependencies": {
2020-05-03 22:01:50 +08:00
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"rollup": "^1.32.1",
2020-10-26 14:47:10 +08:00
"rollup-plugin-terser": "^5.3.1",
2022-12-19 22:01:13 +08:00
"sass": "^1.57.0",
2021-08-12 18:47:19 +08:00
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.3.0",
"stylelint-config-standard": "^22.0.0",
2021-12-08 22:40:08 +08:00
"stylelint-scss": "^3.21.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": {
2020-05-18 00:49:59 +08:00
"no-descending-specificity": null,
"at-rule-empty-line-before": null,
"block-opening-brace-space-before": "always",
"block-closing-brace-newline-after": [
"always",
2020-02-20 20:53:26 +08:00
{
2020-05-18 00:49:59 +08:00
"ignoreAtRules": [
"if",
"else"
2020-02-21 01:49:22 +08:00
]
}
],
2020-05-18 00:49:59 +08:00
"rule-empty-line-before": null,
2020-02-21 01:49:22 +08:00
"selector-type-no-unknown": [
true,
{
"ignore": [
"custom-elements"
]
2020-02-20 20:53:26 +08:00
}
]
}
2020-02-11 20:47:29 +08:00
}
}