-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
284 lines (284 loc) · 11.7 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
{
"name": "@bevry/fs-writable",
"version": "2.5.0",
"license": "Artistic-2.0",
"description": "Check if a path is writable",
"homepage": "https://github.com/bevry/fs-writable",
"funding": "https://bevry.me/fund",
"repository": {
"type": "git",
"url": "git+https://github.com/bevry/fs-writable.git"
},
"bugs": {
"url": "https://github.com/bevry/fs-writable/issues"
},
"keywords": [
"access",
"accessible",
"deno",
"deno-edition",
"deno-entry",
"denoland",
"ecmascript",
"es2015",
"es2022",
"executable",
"export-default",
"file",
"from",
"node",
"read",
"readable",
"to",
"typed",
"types",
"typescript",
"writable",
"write"
],
"badges": {
"list": [
"githubworkflow",
"npmversion",
"npmdownloads",
"---",
"githubsponsors",
"thanksdev",
"patreon",
"liberapay",
"buymeacoffee",
"opencollective",
"crypto",
"paypal",
"---",
"discord",
"twitch"
],
"config": {
"githubWorkflow": "bevry",
"githubSponsorsUsername": "balupton",
"thanksdevGithubUsername": "bevry",
"buymeacoffeeUsername": "balupton",
"cryptoURL": "https://bevry.me/crypto",
"flattrUsername": "balupton",
"liberapayUsername": "bevry",
"opencollectiveUsername": "bevry",
"patreonUsername": "bevry",
"paypalURL": "https://bevry.me/paypal",
"wishlistURL": "https://bevry.me/wishlist",
"discordServerID": "1147436445783560193",
"discordServerInvite": "nQuXddV7VP",
"twitchUsername": "balupton",
"githubUsername": "bevry",
"githubRepository": "fs-writable",
"githubSlug": "bevry/fs-writable",
"npmPackageName": "@bevry/fs-writable"
}
},
"author": "Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton)",
"authors": [
"Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."
],
"maintainers": [
"Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."
],
"contributors": [
"Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton)"
],
"sponsors": [
"Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher",
"Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.",
"Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.",
"Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)",
"Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)",
"Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.",
"Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"
],
"donors": [
"Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)",
"Armen Mkrtchian (https://mogoni.dev) (https://github.com/Armenm)",
"Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)",
"Chad (https://opencollective.com/chad8)",
"Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov)",
"dr.dimitru (https://veliovgroup.com) (https://github.com/dr-dimitru)",
"Elliott Ditman (https://elliottditman.com) (https://github.com/elliottditman)",
"entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)",
"GitHub (https://github.com/about) (https://github.com/github)",
"Hunter Beast (https://cryptoquick.com) (https://github.com/cryptoquick)",
"Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)",
"Michael Duane Mooring (https://mdm.cc) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)",
"Michael Harry Scepaniak <mhs1.sys@gmail.com> (https://michaelscepaniak.com) (https://github.com/hispanic)",
"Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)",
"Mr. Henry <hello@mrhenry.be> (https://mrhenry.be) (https://github.com/mrhenry)",
"Nermal <nermalcat69@skiff.com> (https://arjunaditya.vercel.app) (https://github.com/nermalcat69)",
"Pleo (https://pleo.io) (https://github.com/pleo-io)",
"Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)",
"Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)",
"Robert de Forest <guitar.robot@gmail.com> (https://github.com/rdeforest)",
"Sentry (https://sentry.io) (https://github.com/getsentry)",
"ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)",
"Skunk Team (https://skunk.team) (https://github.com/skunkteam)",
"Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)",
"WriterJohnBuck (https://github.com/WriterJohnBuck)"
],
"engines": {
"node": ">=4"
},
"editions": [
{
"description": "TypeScript source code with Import for modules",
"directory": "source",
"entry": "index.ts",
"tags": [
"source",
"typescript",
"import"
],
"engines": false
},
{
"description": "TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"directory": "edition-es2022",
"entry": "index.js",
"tags": [
"compiled",
"javascript",
"es2022",
"require"
],
"engines": {
"node": "8 || 10 || 12 || 14 || 16 || 18 || 20 || 21",
"browsers": false
}
},
{
"description": "TypeScript compiled against ES2015 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"directory": "edition-es2015",
"entry": "index.js",
"tags": [
"compiled",
"javascript",
"es2015",
"require"
],
"engines": {
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21",
"browsers": false
}
},
{
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules",
"directory": "edition-es2022-esm",
"entry": "index.js",
"tags": [
"compiled",
"javascript",
"es2022",
"import"
],
"engines": {
"node": "12 || 14 || 16 || 18 || 20 || 21",
"browsers": false
}
},
{
"description": "TypeScript compiled Types with Import for modules",
"directory": "edition-types",
"entry": "index.d.ts",
"tags": [
"compiled",
"types",
"import"
],
"engines": false
},
{
"description": "TypeScript source code made to be compatible with Deno",
"directory": "edition-deno",
"entry": "index.ts",
"tags": [
"typescript",
"import",
"deno"
],
"engines": {
"deno": true,
"browsers": false
}
}
],
"types": "edition-types/index.d.ts",
"type": "module",
"main": "index.cjs",
"exports": {
"node": {
"types": "./edition-types/index.d.ts",
"import": "./edition-es2022-esm/index.js",
"default": "./index.cjs",
"require": "./edition-es2022/index.js"
}
},
"deno": "edition-deno/index.ts",
"dependencies": {
"@bevry/fs-accessible": "^2.5.0",
"editions": "^6.21.0"
},
"devDependencies": {
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"assert-helpers": "^11.12.0",
"eslint": "^8.56.0",
"eslint-config-bevry": "^5.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"kava": "^7.8.0",
"make-deno-edition": "^2.2.0",
"prettier": "^3.1.1",
"projectz": "^4.1.1",
"typedoc": "^0.25.4",
"typescript": "5.3.3",
"valid-directory": "^4.8.0"
},
"scripts": {
"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-es2015 && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types",
"our:compile:deno": "make-deno-edition --attempt",
"our:compile:edition-es2015": "tsc --module commonjs --target ES2015 --outDir ./edition-es2015 --project tsconfig.json && ( test ! -d edition-es2015/source || ( mv edition-es2015/source edition-temp && rm -rf edition-es2015 && mv edition-temp edition-es2015 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2015/package.json",
"our:compile:edition-es2022": "tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json",
"our:compile:edition-es2022-esm": "tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json",
"our:compile:edition-types": "tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )",
"our:deploy": "printf '%s\n' 'no need for this project'",
"our:meta": "npm run our:meta:docs && npm run our:meta:projectz",
"our:meta:docs": "npm run our:meta:docs:typedoc",
"our:meta:docs:typedoc": "rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source",
"our:meta:projectz": "projectz --offline",
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",
"our:release:check-changelog": "cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)",
"our:release:check-dirty": "git diff --exit-code",
"our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
"our:release:push": "git push origin && git push origin --tags",
"our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"",
"our:setup": "npm run our:setup:install",
"our:setup:install": "npm install",
"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:eslint && npm run our:verify:prettier",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:prettier": "prettier --write .",
"test": "node ./test.cjs"
},
"boundation": {
"browser": false
},
"eslintConfig": {
"extends": [
"bevry"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"endOfLine": "lf"
}
}