-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
148 lines (148 loc) · 4.84 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
148
{
"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)"
],
"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-minify-whitespace/",
"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-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/hast": "^3.0.0",
"@types/html-minifier": "^4.0.0",
"@types/mdast": "^4.0.0",
"@types/node": "^22.0.0",
"@types/parse-author": "^2.0.0",
"bytes": "^3.0.0",
"c8": "^10.0.0",
"comment-parser": "^1.0.0",
"estree-util-is-identifier-name": "^3.0.0",
"github-slugger": "^2.0.0",
"hast-util-to-html": "^9.0.0",
"hastscript": "^9.0.0",
"html-minifier": "^4.0.0",
"is-hidden": "^2.0.0",
"mdast-util-find-and-replace": "^3.0.0",
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-gfm": "^3.0.0",
"mdast-util-to-markdown": "^2.0.0",
"mdast-util-to-string": "^4.0.0",
"mdast-zone": "^6.0.0",
"micromark-extension-gfm": "^3.0.0",
"micromark-util-normalize-identifier": "^2.0.0",
"p-all": "^5.0.0",
"parse-author": "^2.0.0",
"prettier": "^3.0.0",
"property-information": "^6.0.0",
"rehype": "^13.0.0",
"rehype-cli": "^12.0.0",
"rehype-format": "^5.0.0",
"rehype-parse": "^9.0.0",
"rehype-stringify": "^10.0.0",
"remark-cli": "^12.0.0",
"remark-preset-wooorm": "^10.0.0",
"strip-indent": "^4.0.0",
"to-vfile": "^8.0.0",
"trim-trailing-lines": "^2.0.0",
"type-coverage": "^2.0.0",
"type-fest": "^4.0.0",
"typescript": "^5.0.0",
"undici": "^6.0.0",
"unified": "^11.0.0",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.0",
"vfile-find-down": "^7.0.0",
"vfile-reporter": "^8.0.0",
"vfile-sort": "^4.0.0",
"xo": "^0.59.0"
},
"scripts": {
"generate": "node script/build-packages.js",
"build": "tsc --build --clean && tsc --build && type-coverage",
"format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
"prepack": "npm run build && npm run format",
"test": "npm run build && npm run generate && npm run format && npm run test-coverage",
"test-api": "node --conditions development test/index.js",
"test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api"
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"remarkConfig": {
"plugins": [
"remark-preset-wooorm",
[
"remark-lint-no-html",
false
]
]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"ignoreCatch": true,
"strict": true
},
"xo": {
"prettier": true,
"rules": {
"unicorn/prefer-string-replace-all": "off"
}
}
}