-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
254 lines (254 loc) · 9.93 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
{
"name": "@flex-development/fst-util-from-fs",
"description": "fst utility to create trees from a file system",
"version": "1.0.0-alpha.1",
"keywords": [
"ast",
"file-system",
"fs",
"fst",
"unist"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/flex-development/fst-util-from-fs",
"repository": "https://github.com/flex-development/fst-util-from-fs.git",
"bugs": "https://github.com/flex-development/fst-util-from-fs/issues",
"author": {
"name": "Lexus Drumgold",
"url": "https://github.com/unicornware"
},
"publishConfig": {
"access": "public",
"diff-dst-prefix": "fst-util-from-fs",
"diff-src-prefix": "fst-util-from-fs",
"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": {
".": {
"fst-util-from-fs": "./src/index.mts",
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"imports": {
"#interfaces/*": {
"fst-util-from-fs": "./src/interfaces/*.mts",
"default": "./dist/interfaces/*.d.mts"
},
"#internal/fs": {
"types": "./src/internal/fs.d.mts",
"browser": {
"fst-util-from-fs": "./src/internal/fs.browser.mts",
"default": "./dist/internal/fs.browser.mjs"
},
"node": "fs",
"default": "fs"
},
"#internal/*": {
"fst-util-from-fs": "./src/internal/*.mts",
"default": "./dist/internal/*.mjs"
},
"#tests/*": "./__tests__/*.mts",
"#types/*": {
"fst-util-from-fs": "./src/types/*.mts",
"default": "./dist/types/*.d.mts"
},
"#util": {
"fst-util-from-fs": "./src/util.mts",
"default": "./dist/util.mjs"
}
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"scripts": {
"build": "yarn clean:build; tsc -p tsconfig.build.json --noEmit false; trash ./dist/internal/*.d.mts && trash ./dist/{interfaces,types}/*.mjs",
"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 fst-util-from-fs --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 fst-util-from-fs --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/fst": "flex-development/fst#commit=9fae8b6708a1e392bb874a68aa28730fe6cefdf5",
"@flex-development/pathe": "4.0.1",
"@flex-development/unist-util-builder": "2.0.0",
"@flex-development/unist-util-types": "1.6.1",
"devlop": "1.1.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.3",
"@commitlint/cli": "19.6.1",
"@commitlint/types": "19.5.0",
"@eslint/js": "9.18.0",
"@flex-development/commitlint-config": "1.0.1",
"@flex-development/grease": "3.0.0-alpha.9",
"@flex-development/tutils": "6.0.0-alpha.25",
"@flex-development/unist-util-visit": "1.1.0",
"@stylistic/eslint-plugin": "2.13.0",
"@tsconfig/strictest": "2.0.5",
"@types/chai": "5.0.1",
"@types/eslint": "9.6.1",
"@types/eslint__js": "8.42.3",
"@types/is-ci": "3.0.4",
"@types/node": "22.10.6",
"@types/node-notifier": "8.0.5",
"@types/unist": "3.0.3",
"@typescript-eslint/eslint-plugin": "8.20.0",
"@typescript-eslint/parser": "8.20.0",
"@vates/toggle-scripts": "1.0.0",
"@vitest/coverage-v8": "3.0.2",
"@vitest/ui": "3.0.2",
"convert-hrtime": "5.0.0",
"cross-env": "7.0.3",
"cspell": "8.17.2",
"dprint": "0.48.0",
"editorconfig": "2.0.0",
"esbuild": "0.24.2",
"eslint": "9.18.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",
"is-ci": "4.1.0",
"jsonc-eslint-parser": "2.4.0",
"node-notifier": "10.0.1",
"prettier": "3.4.2",
"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",
"trash-cli": "6.0.0",
"ts-dedent": "2.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0",
"unified": "11.0.5",
"unist-util-size": "4.0.0",
"vfile": "6.0.3",
"vitest": "3.0.2",
"yaml-eslint-parser": "1.2.3"
},
"packageManager": "[email protected]",
"sideEffects": false
}