forked from rehypejs/rehype-minify
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 4.78 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"private": true,
"name": "monorepo",
"license": "MIT",
"repository": "https://github.com/rehypejs/rehype-minify",
"bugs": "https://github.com/rehypejs/rehype-minify/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
"contributors": [
"Titus Wormer <[email protected]> (https://wooorm.com)"
],
"sideEffects": false,
"type": "module",
"workspaces": [
"packages/html-enumerated-attributes",
"packages/html-url-attributes",
"packages/html-whitespace-sensitive-tag-names",
"packages/hast-util-from-string",
"packages/hast-util-is-body-ok-link",
"packages/hast-util-is-conditional-comment",
"packages/hast-util-is-css-link",
"packages/hast-util-is-css-style",
"packages/hast-util-is-event-handler",
"packages/hast-util-is-javascript",
"packages/hast-util-to-string",
"packages/rehype-concat-css-style",
"packages/rehype-concat-javascript",
"packages/rehype-css-to-top",
"packages/rehype-javascript-to-bottom",
"packages/rehype-minify-attribute-whitespace",
"packages/rehype-minify-css-style",
"packages/rehype-minify-doctype",
"packages/rehype-minify-enumerated-attribute",
"packages/rehype-minify-event-handler",
"packages/rehype-minify-javascript-script",
"packages/rehype-minify-javascript-url",
"packages/rehype-minify-json-script",
"packages/rehype-minify-language",
"packages/rehype-minify-media-attribute",
"packages/rehype-minify-meta-color",
"packages/rehype-minify-meta-content",
"packages/rehype-minify-style-attribute",
"packages/rehype-minify-url",
"packages/rehype-minify-whitespace",
"packages/rehype-normalize-attribute-value-case",
"packages/rehype-prevent-favicon-request",
"packages/rehype-remove-comments",
"packages/rehype-remove-duplicate-attribute-values",
"packages/rehype-remove-empty-attribute",
"packages/rehype-remove-external-script-content",
"packages/rehype-remove-meta-http-equiv",
"packages/rehype-remove-script-type-javascript",
"packages/rehype-remove-style-type-css",
"packages/rehype-sort-attribute-values",
"packages/rehype-sort-attributes",
"packages/rehype-preset-minify"
],
"devDependencies": {
"@types/bytes": "^3.0.0",
"@types/html-minifier": "^4.0.0",
"@types/mdast": "^3.0.0",
"@types/parse-author": "^2.0.0",
"@types/tape": "^4.0.0",
"bail": "^2.0.0",
"bytes": "^3.0.0",
"c8": "^7.0.0",
"chalk": "^5.0.0",
"comment-parser": "^1.0.0",
"github-slugger": "^1.0.0",
"hastscript": "^7.0.0",
"html-minifier": "^4.0.0",
"is-hidden": "^2.0.0",
"mdast-util-find-and-replace": "^2.0.0",
"mdast-util-to-string": "^3.0.0",
"mdast-zone": "^5.0.0",
"node-fetch": "^3.0.0",
"parse-author": "^2.0.0",
"prettier": "^2.0.0",
"property-information": "^6.0.0",
"rehype": "^12.0.0",
"rehype-cli": "^11.0.0",
"rehype-format": "^4.0.0",
"rehype-parse": "^8.0.0",
"rehype-stringify": "^9.0.0",
"remark": "^14.0.0",
"remark-cli": "^10.0.0",
"remark-parse": "^10.0.0",
"remark-preset-wooorm": "^9.0.0",
"rimraf": "^3.0.0",
"strip-indent": "^4.0.0",
"tape": "^5.0.0",
"to-vfile": "^7.0.0",
"trim-trailing-lines": "^2.0.0",
"trough": "^2.0.0",
"type-coverage": "^2.0.0",
"type-fest": "^2.0.0",
"typescript": "^4.0.0",
"unified": "^10.0.0",
"unist-builder": "^3.0.0",
"vfile": "^5.0.0",
"vfile-find-down": "^6.0.0",
"xo": "^0.48.0"
},
"scripts": {
"build-workspace": "npm run build --workspaces",
"build-monorepo": "rimraf \"/*.d.ts\" \"{test,script}/**/*.d.ts\" && tsc && type-coverage",
"build-packages": "node script/build-packages",
"build": "npm run build-packages && npm run build-workspace && npm run build-monorepo",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"test-api": "node --conditions development test/index.js && npm run test --workspaces --if-present",
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
"test": "npm run build && npm run format && npm run test-coverage"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"rules": {
"capitalized-comments": "off",
"unicorn/prefer-code-point": "off"
}
},
"remarkConfig": {
"plugins": [
"preset-wooorm",
[
"lint-no-html",
false
]
]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true,
"ignoreCatch": true
}
}