1 | {
|
2 | "title": "The Definitive List of Text Extensions",
|
3 | "name": "textextensions",
|
4 | "version": "6.11.0",
|
5 | "license": "Artistic-2.0",
|
6 | "description": "A package that contains an array of every single file extension there is for text files",
|
7 | "homepage": "https://github.com/bevry/textextensions",
|
8 | "funding": "https://bevry.me/fund",
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "git+https://github.com/bevry/textextensions.git"
|
12 | },
|
13 | "bugs": {
|
14 | "url": "https://github.com/bevry/textextensions/issues"
|
15 | },
|
16 | "keywords": [
|
17 | "browser",
|
18 | "deno",
|
19 | "deno-edition",
|
20 | "deno-entry",
|
21 | "denoland",
|
22 | "es2022",
|
23 | "es5",
|
24 | "export-default",
|
25 | "extensions",
|
26 | "module",
|
27 | "node",
|
28 | "text",
|
29 | "text extensions",
|
30 | "text-extensions",
|
31 | "typed",
|
32 | "types",
|
33 | "typescript"
|
34 | ],
|
35 | "badges": {
|
36 | "list": [
|
37 | "githubworkflow",
|
38 | "npmversion",
|
39 | "npmdownloads",
|
40 | "---",
|
41 | "githubsponsors",
|
42 | "thanksdev",
|
43 | "patreon",
|
44 | "liberapay",
|
45 | "buymeacoffee",
|
46 | "opencollective",
|
47 | "crypto",
|
48 | "paypal",
|
49 | "---",
|
50 | "discord",
|
51 | "twitch"
|
52 | ],
|
53 | "config": {
|
54 | "githubWorkflow": "bevry",
|
55 | "githubSponsorsUsername": "balupton",
|
56 | "thanksdevGithubUsername": "bevry",
|
57 | "buymeacoffeeUsername": "balupton",
|
58 | "cryptoURL": "https://bevry.me/crypto",
|
59 | "flattrUsername": "balupton",
|
60 | "liberapayUsername": "bevry",
|
61 | "opencollectiveUsername": "bevry",
|
62 | "patreonUsername": "bevry",
|
63 | "paypalURL": "https://bevry.me/paypal",
|
64 | "wishlistURL": "https://bevry.me/wishlist",
|
65 | "discordServerID": "1147436445783560193",
|
66 | "discordServerInvite": "nQuXddV7VP",
|
67 | "twitchUsername": "balupton",
|
68 | "githubUsername": "bevry",
|
69 | "githubRepository": "textextensions",
|
70 | "githubSlug": "bevry/textextensions",
|
71 | "npmPackageName": "textextensions"
|
72 | }
|
73 | },
|
74 | "author": "Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton)",
|
75 | "authors": [
|
76 | "Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."
|
77 | ],
|
78 | "maintainers": [
|
79 | "Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."
|
80 | ],
|
81 | "contributors": [
|
82 | "Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton)",
|
83 | "Brian Lukoff (https://brianlukoff.com) (https://github.com/brianlukoff)",
|
84 | "Connor Chen (https://github.com/connorjchen)",
|
85 | "Felipe Beline <felipe@fbeline.com> (https://blog.fbeline.com) (https://github.com/fbeline)",
|
86 | "Jamy Timmermans <jamy@mixer.com> (https://github.com/JamyDev)",
|
87 | "Jason Caldwell (https://jaswrks.com) (https://github.com/jaswrks)",
|
88 | "Joshua Evans <TheJoshuaEvans@gmail.com> (https://linkedin.com/profile/view?id=351521559) (https://github.com/TheJoshuaEvans)",
|
89 | "Kaan Barmore-Genç <kaan@bgenc.net> (https://bgenc.net) (https://github.com/SeriousBug)",
|
90 | "LvChengbin <lvchengbin59@gmail.com> (https://github.com/LvChengbin)",
|
91 | "monsterkodi (https://github.com/monsterkodi)"
|
92 | ],
|
93 | "sponsors": [
|
94 | "Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher",
|
95 | "Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.",
|
96 | "Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.",
|
97 | "Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)",
|
98 | "Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)",
|
99 | "Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.",
|
100 | "Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"
|
101 | ],
|
102 | "donors": [
|
103 | "Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)",
|
104 | "Armen Mkrtchian (https://mogoni.dev) (https://github.com/Armenm)",
|
105 | "Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)",
|
106 | "Chad (https://opencollective.com/chad8)",
|
107 | "Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov)",
|
108 | "dr.dimitru (https://veliovgroup.com) (https://github.com/dr-dimitru)",
|
109 | "Elliott Ditman (https://elliottditman.com) (https://github.com/elliottditman)",
|
110 | "entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)",
|
111 | "GitHub (https://github.com/about) (https://github.com/github)",
|
112 | "Hunter Beast (https://cryptoquick.com) (https://github.com/cryptoquick)",
|
113 | "Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)",
|
114 | "Michael Duane Mooring (https://mdm.cc) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)",
|
115 | "Michael Harry Scepaniak <mhs1.sys@gmail.com> (https://michaelscepaniak.com) (https://github.com/hispanic)",
|
116 | "Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)",
|
117 | "Mr. Henry <hello@mrhenry.be> (https://mrhenry.be) (https://github.com/mrhenry)",
|
118 | "Nermal <nermalcat69@skiff.com> (https://arjunaditya.vercel.app) (https://github.com/nermalcat69)",
|
119 | "Pleo (https://pleo.io) (https://github.com/pleo-io)",
|
120 | "Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)",
|
121 | "Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)",
|
122 | "Robert de Forest <guitar.robot@gmail.com> (https://github.com/rdeforest)",
|
123 | "Sentry (https://sentry.io) (https://github.com/getsentry)",
|
124 | "ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)",
|
125 | "Skunk Team (https://skunk.team) (https://github.com/skunkteam)",
|
126 | "Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)",
|
127 | "WriterJohnBuck (https://github.com/WriterJohnBuck)"
|
128 | ],
|
129 | "engines": {
|
130 | "node": ">=4"
|
131 | },
|
132 | "editions": [
|
133 | {
|
134 | "description": "TypeScript source code with Import for modules",
|
135 | "directory": "source",
|
136 | "entry": "index.ts",
|
137 | "tags": [
|
138 | "source",
|
139 | "typescript",
|
140 | "import"
|
141 | ],
|
142 | "engines": false
|
143 | },
|
144 | {
|
145 | "description": "TypeScript compiled against ES2022 for web browsers with Import for modules",
|
146 | "directory": "edition-browsers",
|
147 | "entry": "index.js",
|
148 | "tags": [
|
149 | "compiled",
|
150 | "javascript",
|
151 | "import"
|
152 | ],
|
153 | "engines": {
|
154 | "node": false,
|
155 | "browsers": "defaults"
|
156 | }
|
157 | },
|
158 | {
|
159 | "description": "TypeScript compiled against ES2022 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
|
160 | "directory": "edition-es2022",
|
161 | "entry": "index.js",
|
162 | "tags": [
|
163 | "compiled",
|
164 | "javascript",
|
165 | "es2022",
|
166 | "require"
|
167 | ],
|
168 | "engines": {
|
169 | "node": "6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21",
|
170 | "browsers": false
|
171 | }
|
172 | },
|
173 | {
|
174 | "description": "TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
|
175 | "directory": "edition-es5",
|
176 | "entry": "index.js",
|
177 | "tags": [
|
178 | "compiled",
|
179 | "javascript",
|
180 | "es5",
|
181 | "require"
|
182 | ],
|
183 | "engines": {
|
184 | "node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21",
|
185 | "browsers": false
|
186 | }
|
187 | },
|
188 | {
|
189 | "description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules",
|
190 | "directory": "edition-es2022-esm",
|
191 | "entry": "index.js",
|
192 | "tags": [
|
193 | "compiled",
|
194 | "javascript",
|
195 | "es2022",
|
196 | "import"
|
197 | ],
|
198 | "engines": {
|
199 | "node": "12 || 14 || 16 || 18 || 20 || 21",
|
200 | "browsers": false
|
201 | }
|
202 | },
|
203 | {
|
204 | "description": "TypeScript compiled Types with Import for modules",
|
205 | "directory": "edition-types",
|
206 | "entry": "index.d.ts",
|
207 | "tags": [
|
208 | "compiled",
|
209 | "types",
|
210 | "import"
|
211 | ],
|
212 | "engines": false
|
213 | },
|
214 | {
|
215 | "description": "TypeScript source code made to be compatible with Deno",
|
216 | "directory": "edition-deno",
|
217 | "entry": "index.ts",
|
218 | "tags": [
|
219 | "typescript",
|
220 | "import",
|
221 | "deno"
|
222 | ],
|
223 | "engines": {
|
224 | "deno": true,
|
225 | "browsers": true
|
226 | }
|
227 | }
|
228 | ],
|
229 | "types": "edition-types/index.d.ts",
|
230 | "type": "module",
|
231 | "main": "index.cjs",
|
232 | "exports": {
|
233 | "node": {
|
234 | "types": "./edition-types/index.d.ts",
|
235 | "import": "./edition-es2022-esm/index.js",
|
236 | "default": "./index.cjs",
|
237 | "require": "./edition-es2022/index.js"
|
238 | },
|
239 | "browser": {
|
240 | "types": "./edition-types/index.d.ts",
|
241 | "import": "./edition-browsers/index.js"
|
242 | }
|
243 | },
|
244 | "deno": "edition-deno/index.ts",
|
245 | "browser": "edition-browsers/index.js",
|
246 | "module": "edition-browsers/index.js",
|
247 | "dependencies": {
|
248 | "editions": "^6.21.0"
|
249 | },
|
250 | "devDependencies": {
|
251 | "@bevry/fs-write": "^1.5.0",
|
252 | "@types/node": "^20.10.5",
|
253 | "@typescript-eslint/eslint-plugin": "^6.16.0",
|
254 | "@typescript-eslint/parser": "^6.16.0",
|
255 | "assert-helpers": "^11.12.0",
|
256 | "binaryextensions": "^6.11.0",
|
257 | "eslint": "^8.56.0",
|
258 | "eslint-config-bevry": "^5.3.0",
|
259 | "eslint-config-prettier": "^9.1.0",
|
260 | "eslint-plugin-prettier": "^5.1.2",
|
261 | "filedirname": "^3.3.0",
|
262 | "kava": "^7.8.0",
|
263 | "make-deno-edition": "^2.2.0",
|
264 | "prettier": "^3.1.1",
|
265 | "projectz": "^4.1.1",
|
266 | "promise-errback": "^1.3.0",
|
267 | "typedoc": "^0.25.4",
|
268 | "typescript": "5.3.3",
|
269 | "valid-directory": "^4.8.0",
|
270 | "valid-module": "^2.6.0"
|
271 | },
|
272 | "scripts": {
|
273 | "our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
|
274 | "our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-es5 && npm run our:compile:edition-types",
|
275 | "our:compile:deno": "make-deno-edition --attempt",
|
276 | "our:compile:edition-browsers": "tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -rf edition-browsers && mv edition-temp edition-browsers ) )",
|
277 | "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",
|
278 | "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",
|
279 | "our:compile:edition-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && ( test ! -d edition-es5/source || ( mv edition-es5/source edition-temp && rm -rf edition-es5 && mv edition-temp edition-es5 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es5/package.json",
|
280 | "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 ) )",
|
281 | "our:deploy": "printf '%s\n' 'no need for this project'",
|
282 | "our:meta": "npm run our:meta:docs && npm run our:meta:projectz",
|
283 | "our:meta:docs": "npm run our:meta:docs:typedoc",
|
284 | "our:meta:docs:typedoc": "rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source",
|
285 | "our:meta:projectz": "projectz --offline",
|
286 | "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",
|
287 | "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)",
|
288 | "our:release:check-dirty": "git diff --exit-code",
|
289 | "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
|
290 | "our:release:push": "git push origin && git push origin --tags",
|
291 | "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\"",
|
292 | "our:setup": "npm run our:setup:install",
|
293 | "our:setup:install": "npm install",
|
294 | "our:test": "npm run our:verify && npm test",
|
295 | "our:verify": "npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier",
|
296 | "our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
|
297 | "our:verify:module": "valid-module",
|
298 | "our:verify:prettier": "prettier --write .",
|
299 | "test": "node ./test.cjs"
|
300 | },
|
301 | "eslintConfig": {
|
302 | "extends": [
|
303 | "bevry"
|
304 | ]
|
305 | },
|
306 | "prettier": {
|
307 | "semi": false,
|
308 | "singleQuote": true,
|
309 | "trailingComma": "es5",
|
310 | "endOfLine": "lf"
|
311 | }
|
312 | }
|