-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
74 lines (74 loc) · 2.07 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
{
"name": "@henrygd/queue",
"version": "1.0.7",
"license": "MIT",
"type": "module",
"description": "Tiny async queue with concurrency control. Like p-limit or fastq, but smaller and faster.",
"author": "Hank Dollman <[email protected]> (https://henrygd.me)",
"repository": {
"type": "git",
"url": "git+https://github.com/henrygd/queue.git"
},
"bugs": {
"url": "https://github.com/henrygd/queue/issues"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./async-storage": {
"import": "./dist/index.async-storage.js",
"require": "./dist/index.async-storage.cjs",
"types": "./dist/index.d.ts"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"build": "bun run build.ts && ls -l dist/index.min.js && bun run generate-types",
"build:skip-types": "bun run build.ts && ls -l dist/index.min.js",
"generate-types": "tsc -d index.ts --outDir dist --emitDeclarationOnly > /dev/null",
"test": "bun run test:dev && bun test:dist",
"test:dev": "bun test test/bun.test.ts",
"test:dist": "DIST=true bun test test/bun.test.ts",
"test:deno": "bun run test:deno:dev && bun run test:deno:dist",
"test:deno:dist": "DIST=true deno test test/deno-test.ts --allow-env",
"test:deno:dev": "deno test test/deno-test.ts --allow-env",
"bench": "node bench/bench.js",
"bench:bun": "bun run bench/bench.js",
"bench:deno": "deno run --allow-env --allow-hrtime --allow-sys bench/bench.js",
"bench:alt": "node bench/bench-alt.js",
"bench:alt:bun": "bun run bench/bench-alt.js",
"bench:alt:deno": "deno run --allow-env --allow-hrtime bench/bench-alt.js"
},
"keywords": [
"promise",
"promises",
"limit",
"limited",
"concurrency",
"throttle",
"rate",
"batch",
"task",
"queue",
"async",
"await",
"async-queue",
"promise-queue",
"fast",
"worker"
],
"devDependencies": {
"@types/bun": "^1.1.3",
"async": "^3.2.5",
"esbuild": "^0.21.4",
"fastq": "^1.17.1",
"mitata": "^0.1.11",
"p-limit": "^5.0.0",
"promise-queue": "^2.2.5",
"queue": "^7.0.0",
"typescript": "^5.4.5"
}
}