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