forked from wooorm/readability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.51 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "www-readability",
"license": "MIT",
"repository": "wooorm/readability",
"bugs": "https://github.com/wooorm/readability/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"Michael Chambers <chamicr@gmail.com>"
],
"type": "module",
"dependencies": {
"compute-mean": "^3.0.0",
"compute-median": "^2.0.0",
"debounce": "^1.0.0",
"global": "^4.0.0",
"lerp": "^1.0.0",
"readability-scores": "^1.0.0",
"retext-english": "^4.0.0",
"retext-stringify": "^3.0.0",
"unified": "^10.0.0",
"unlerp": "^1.0.0",
"virtual-dom": "^2.0.0"
},
"devDependencies": {
"@types/debounce": "^1.0.0",
"@types/virtual-dom": "^2.0.0",
"cssnano": "^5.0.0",
"esbuild": "^0.15.0",
"postcss-cli": "^10.0.0",
"prettier": "^2.0.0",
"rehype-cli": "^11.0.0",
"rehype-preset-minify": "^6.0.0",
"rehype-prevent-favicon-request": "^3.0.0",
"remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0",
"stylelint": "^14.0.0",
"stylelint-config-standard": "^29.0.0",
"type-coverage": "^2.0.0",
"typescript": "^4.0.0",
"xo": "^0.53.0"
},
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix && stylelint src/index.css --fix",
"generate:js": "esbuild src/index.js --bundle --minify --target=es6 --outfile=dest/index.nomodule.js && esbuild src/index.js --bundle --minify --target=es2020 --format=esm --outfile=dest/index.module.js",
"generate:css": "postcss src/index.css > dest/index.css",
"generate:html": "rehype -u preset-minify -u prevent-favicon-request src -o dest",
"generate": "npm run generate:js && npm run generate:css && npm run generate:html",
"test": "npm run build && npm run format && npm run generate"
},
"stylelint": {
"extends": "stylelint-config-standard"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"rules": {
"unicorn/prefer-dom-node-append": "off"
}
},
"postcss": {
"plugins": {
"cssnano": {
"preset": "default"
}
}
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true,
"ignoreCatch": true
}
}