-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
292 lines (292 loc) · 10.8 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
{
"name": "@flex-development/mlly",
"description": "ECMAScript module utilities",
"version": "1.0.0-alpha.19",
"keywords": [
"ecmascript",
"esm",
"esmodules",
"module",
"typescript"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/flex-development/mlly",
"repository": "https://github.com/flex-development/mlly.git",
"bugs": "https://github.com/flex-development/mlly/issues",
"author": {
"name": "Lexus Drumgold",
"url": "https://github.com/unicornware"
},
"publishConfig": {
"access": "public",
"diff-dst-prefix": "mlly",
"diff-src-prefix": "mlly",
"directory": "./",
"executableFiles": [],
"node-options": null,
"pack-destination": ".",
"parseable": true,
"prefer-dedupe": true,
"provenance": true,
"tag-version-prefix": ""
},
"type": "module",
"files": [
"CHANGELOG.md",
"LICENSE.md",
"README.md",
"dist"
],
"exports": {
".": {
"mlly": "./src/index.mts",
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"imports": {
"#build/*": "./build/*.mts",
"#fixtures/tsconfig*.json": {
"types": "./__fixtures__/tsconfig.json.d.mts",
"default": "./__fixtures__/tsconfig*.json"
},
"#fixtures/*": "./__fixtures__/*.mts",
"#interfaces/*": {
"mlly": "./src/interfaces/*.mts",
"default": "./dist/interfaces/*.d.mts"
},
"#internal/fs": {
"types": {
"mlly": "./src/internal/fs.d.mts",
"default": "./dist/internal/fs.d.mts"
},
"browser": {
"mlly": "./src/internal/fs.browser.mts",
"default": "./dist/internal/fs.browser.mjs"
},
"node": "fs/promises",
"default": "fs/promises"
},
"#internal/process": {
"types": {
"mlly": "./src/internal/process.d.mts",
"default": "./dist/internal/process.d.mts"
},
"browser": {
"mlly": "./src/internal/process.browser.mts",
"default": "./dist/internal/process.browser.mjs"
},
"node": "process",
"default": "process"
},
"#internal/*": {
"mlly": "./src/internal/*.mts",
"default": "./dist/internal/*.mjs"
},
"#lib/*": {
"mlly": "./src/lib/*.mts",
"default": "./dist/lib/*.mjs"
},
"#tests/*": "./__tests__/*.mts",
"#types/*": {
"mlly": "./src/types/*.mts",
"default": "./dist/types/*.d.mts"
}
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"scripts": {
"build": "yarn clean:build; node --conditions development --conditions mlly/build --conditions mlly --experimental-strip-types --experimental-transform-types ./build/build.mts",
"check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn typecheck && yarn test:cov && yarn pack && yarn check:types:build && attw package.tgz && yarn clean:pack",
"check:format": "dprint check --incremental=false",
"check:lint": "eslint --exit-on-fatal-error --max-warnings 0 .",
"check:spelling": "cspell lint --color --no-progress --relative $@ \"**\"",
"check:types": "tsc -p tsconfig.typecheck.json",
"check:types:attw": "yarn pack && attw package.tgz; yarn clean:pack",
"check:types:build": "tsc -p tsconfig.build.json",
"check:upgrades": "yarn upgrade-interactive",
"clean:build": "trash \"./{dist,*.tgz}\"",
"clean:modules": "trash ./.yarn/{cache,*.gz} ./node_modules",
"clean:pack": "trash \"./*.tgz\"",
"clean:test": "trash ./coverage && trash __tests__/reports",
"codecov": "yarn test:cov && yarn test:cov:upload",
"codecov:validate": "cat .codecov.yml | curl --data-binary @- https://codecov.io/validate",
"commitlint": "commitlint -V",
"fix:cg": "yarn fix:format && yarn fix:lint",
"fix:dedupe": "yarn dedupe --strategy=highest",
"fix:format": "dprint fmt",
"fix:lint": "yarn check:lint --cache --fix",
"postinstall": "[ -f ./node_modules/.bin/husky ] && chmod +x .husky/* && husky || exit 0",
"postpack": "toggle-scripts +postinstall",
"postpublish": "toggle-scripts +prepack",
"prepack": "toggle-scripts -postinstall && yarn build",
"prepublishOnly": "toggle-scripts -prepack",
"release": "bash ./scripts/release.sh",
"remark": "remark .",
"test": "yarn clean:build; cross-env NODE_OPTIONS=\"--conditions mlly --experimental-strip-types --experimental-transform-types\" vitest run",
"test:cov": "yarn test --coverage",
"test:cov:reports": "yarn test:cov --merge-reports --mode=reports",
"test:cov:ui": "yarn test:ui --coverage",
"test:cov:upload": "./codecov -t $CODECOV_TOKEN -f ./coverage/lcov.info",
"test:reports": "yarn test --merge-reports --mode=reports",
"test:ui": "cross-env VITEST_UI=1 NODE_OPTIONS=\"--conditions mlly --experimental-strip-types --experimental-transform-types\" vitest --ui",
"typecheck": "yarn test --typecheck --mode=typecheck",
"typecheck:ui": "yarn test:ui --typecheck --mode=typecheck"
},
"dependencies": {
"@flex-development/errnode": "3.1.1",
"@flex-development/is-builtin": "3.2.0",
"@flex-development/pathe": "4.0.0",
"@flex-development/pkg-types": "4.1.0",
"devlop": "1.1.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.2",
"@commitlint/cli": "19.6.1",
"@commitlint/types": "19.5.0",
"@eslint/js": "9.17.0",
"@faker-js/faker": "9.3.0",
"@flex-development/commitlint-config": "1.0.1",
"@flex-development/export-regex": "2.0.0",
"@flex-development/ext-regex": "2.0.0",
"@flex-development/grease": "3.0.0-alpha.9",
"@flex-development/import-regex": "3.0.0",
"@flex-development/mkbuild": "1.0.0-alpha.23",
"@flex-development/tsconfig-utils": "2.0.2",
"@flex-development/tutils": "6.0.0-alpha.25",
"@stylistic/eslint-plugin": "2.12.1",
"@tsconfig/strictest": "2.0.5",
"@types/chai": "5.0.0",
"@types/chai-string": "1.4.5",
"@types/eslint": "9.6.1",
"@types/eslint__js": "8.42.3",
"@types/is-ci": "3.0.4",
"@types/node": "22.8.6",
"@types/node-notifier": "8.0.5",
"@types/rollup": "0.54.0",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"@vates/toggle-scripts": "1.0.0",
"@vitest/coverage-v8": "3.0.0-beta.3",
"@vitest/ui": "3.0.0-beta.3",
"chai": "5.1.2",
"chai-each": "0.0.1",
"chai-string": "1.5.0",
"consola": "3.3.1",
"cross-env": "7.0.3",
"cspell": "8.17.1",
"dprint": "0.48.0",
"editorconfig": "2.0.0",
"esbuild": "0.24.2",
"eslint": "9.17.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-mdx": "3.1.5",
"eslint-plugin-chai-expect": "3.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-jsdoc": "50.6.1",
"eslint-plugin-jsonc": "2.18.2",
"eslint-plugin-mdx": "3.1.5",
"eslint-plugin-n": "17.15.1",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-unicorn": "56.0.1",
"eslint-plugin-yml": "1.16.0",
"globals": "15.14.0",
"growl": "1.10.5",
"husky": "9.1.7",
"import-meta-resolve": "4.1.0",
"is-ci": "4.1.0",
"jsonc-eslint-parser": "2.4.0",
"node-notifier": "10.0.1",
"prettier": "3.4.2",
"pretty-bytes": "6.1.1",
"remark": "15.0.1",
"remark-cli": "12.0.1",
"remark-directive": "3.0.0",
"remark-frontmatter": "5.0.0",
"remark-gfm": "4.0.0",
"remark-lint": "10.0.0",
"remark-lint-blockquote-indentation": "4.0.0",
"remark-lint-checkbox-character-style": "5.0.0",
"remark-lint-checkbox-content-indent": "5.0.0",
"remark-lint-code-block-style": "4.0.0",
"remark-lint-definition-case": "4.0.0",
"remark-lint-definition-spacing": "4.0.0",
"remark-lint-emphasis-marker": "4.0.0",
"remark-lint-fenced-code-flag": "4.0.0",
"remark-lint-fenced-code-marker": "4.0.0",
"remark-lint-file-extension": "3.0.0",
"remark-lint-final-definition": "4.0.1",
"remark-lint-final-newline": "3.0.0",
"remark-lint-first-heading-level": "4.0.0",
"remark-lint-hard-break-spaces": "4.0.0",
"remark-lint-heading-increment": "4.0.0",
"remark-lint-heading-style": "4.0.0",
"remark-lint-linebreak-style": "4.0.0",
"remark-lint-link-title-style": "4.0.0",
"remark-lint-list-item-bullet-indent": "5.0.0",
"remark-lint-list-item-content-indent": "4.0.0",
"remark-lint-list-item-indent": "4.0.0",
"remark-lint-list-item-spacing": "5.0.0",
"remark-lint-maximum-heading-length": "4.0.0",
"remark-lint-maximum-line-length": "4.0.1",
"remark-lint-no-blockquote-without-marker": "6.0.0",
"remark-lint-no-consecutive-blank-lines": "5.0.0",
"remark-lint-no-duplicate-defined-urls": "3.0.0",
"remark-lint-no-duplicate-definitions": "4.0.0",
"remark-lint-no-duplicate-headings-in-section": "4.0.0",
"remark-lint-no-emphasis-as-heading": "4.0.0",
"remark-lint-no-empty-url": "4.0.0",
"remark-lint-no-file-name-articles": "3.0.0",
"remark-lint-no-file-name-consecutive-dashes": "3.0.0",
"remark-lint-no-file-name-irregular-characters": "3.0.0",
"remark-lint-no-file-name-mixed-case": "3.0.0",
"remark-lint-no-file-name-outer-dashes": "3.0.0",
"remark-lint-no-heading-content-indent": "5.0.0",
"remark-lint-no-heading-indent": "5.0.0",
"remark-lint-no-heading-like-paragraph": "4.0.0",
"remark-lint-no-heading-punctuation": "4.0.0",
"remark-lint-no-literal-urls": "4.0.0",
"remark-lint-no-missing-blank-lines": "4.0.0",
"remark-lint-no-multiple-toplevel-headings": "4.0.0",
"remark-lint-no-paragraph-content-indent": "5.0.0",
"remark-lint-no-shell-dollars": "4.0.0",
"remark-lint-no-shortcut-reference-image": "4.0.0",
"remark-lint-no-shortcut-reference-link": "4.0.0",
"remark-lint-no-table-indentation": "5.0.0",
"remark-lint-no-tabs": "4.0.0",
"remark-lint-no-undefined-references": "5.0.0",
"remark-lint-no-unneeded-full-reference-image": "4.0.0",
"remark-lint-no-unneeded-full-reference-link": "4.0.0",
"remark-lint-no-unused-definitions": "4.0.0",
"remark-lint-ordered-list-marker-style": "4.0.0",
"remark-lint-ordered-list-marker-value": "4.0.0",
"remark-lint-rule-style": "4.0.0",
"remark-lint-strikethrough-marker": "3.0.0",
"remark-lint-strong-marker": "4.0.0",
"remark-lint-table-cell-padding": "5.0.0",
"remark-lint-table-pipe-alignment": "4.0.0",
"remark-lint-table-pipes": "5.0.0",
"remark-lint-unordered-list-marker-style": "4.0.0",
"remark-validate-links": "13.0.2",
"sh-syntax": "0.4.2",
"tinyrainbow": "1.2.0",
"trash-cli": "6.0.0",
"ts-dedent": "2.2.0",
"typescript": "5.7.2",
"typescript-eslint": "8.18.1",
"unified": "11.0.5",
"vfile": "6.0.3",
"vite": "5.4.11",
"vitest": "3.0.0-beta.3",
"yaml-eslint-parser": "1.2.3"
},
"resolutions": {
"vite": "5.4.11"
},
"engines": {
"node": ">=18.20.4"
},
"packageManager": "[email protected]",
"sideEffects": false
}