feat: support CJK & ANS spacing (#12)
This commit is contained in:
parent
898d2de3d8
commit
aebe2137b0
25 changed files with 1420 additions and 335 deletions
44
package.json
44
package.json
|
@ -1,17 +1,18 @@
|
|||
{
|
||||
"name": "heti",
|
||||
"version": "0.3.4",
|
||||
"version": "0.4.0",
|
||||
"description": "赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。",
|
||||
"main": "lib/heti.scss",
|
||||
"directories": {
|
||||
"lib": "lib"
|
||||
},
|
||||
"files": [
|
||||
"add-ons",
|
||||
"lib"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "node-sass -w --output-style=compressed lib/heti.scss demo/heti.min.css",
|
||||
"build:expanded": "node-sass lib/heti.scss dist/heti.css --output-style=expanded",
|
||||
"build:compressed": "node-sass lib/heti.scss dist/heti.min.css --output-style=compressed",
|
||||
"build": "npm run build:expanded && npm run build:compressed",
|
||||
"deploy": "gh-pages -d demo",
|
||||
"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",
|
||||
"test": "npx stylelint --config package.json 'lib/**/*.scss'"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -31,21 +32,40 @@
|
|||
"url": "https://github.com/sivan/heti/issues"
|
||||
},
|
||||
"homepage": "https://github.com/sivan/heti#readme",
|
||||
"dependencies": {
|
||||
"findandreplacedomtext": "^0.4.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"gh-pages": "^2.2.0",
|
||||
"@rollup/plugin-commonjs": "^11.0.2",
|
||||
"@rollup/plugin-node-resolve": "^7.1.1",
|
||||
"node-sass": "^4.13.1",
|
||||
"rollup": "^1.32.0",
|
||||
"rollup-plugin-terser": "^5.2.0",
|
||||
"stylelint": "^13.0.0",
|
||||
"stylelint-config-recommended-scss": "^4.1.0",
|
||||
"stylelint-config-standard": "^19.0.0",
|
||||
"stylelint-scss": "^3.13.0"
|
||||
},
|
||||
"stylelint": {
|
||||
"extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"],
|
||||
"extends": [
|
||||
"stylelint-config-standard",
|
||||
"stylelint-config-recommended-scss"
|
||||
],
|
||||
"rules": {
|
||||
"no-descending-specificity": [
|
||||
true,
|
||||
{
|
||||
"ignore": ["selectors-within-list"]
|
||||
"ignore": [
|
||||
"selectors-within-list"
|
||||
]
|
||||
}
|
||||
],
|
||||
"selector-type-no-unknown": [
|
||||
true,
|
||||
{
|
||||
"ignore": [
|
||||
"custom-elements"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue