1 | {
|
2 | "name": "p-queue",
|
3 | "version": "8.0.0",
|
4 | "description": "Promise queue with concurrency control",
|
5 | "license": "MIT",
|
6 | "repository": "sindresorhus/p-queue",
|
7 | "funding": "https://github.com/sponsors/sindresorhus",
|
8 | "type": "module",
|
9 | "exports": {
|
10 | "types": "./dist/index.d.ts",
|
11 | "default": "./dist/index.js"
|
12 | },
|
13 | "sideEffects": false,
|
14 | "engines": {
|
15 | "node": ">=18"
|
16 | },
|
17 | "scripts": {
|
18 | "build": "del-cli dist && tsc",
|
19 | "test": "xo && ava && del-cli dist && tsc && tsd",
|
20 | "bench": "node --import=tsx/esm bench.ts",
|
21 | "prepublishOnly": "del-cli dist && tsc"
|
22 | },
|
23 | "files": [
|
24 | "dist"
|
25 | ],
|
26 | "types": "dist/index.d.ts",
|
27 | "keywords": [
|
28 | "promise",
|
29 | "queue",
|
30 | "enqueue",
|
31 | "limit",
|
32 | "limited",
|
33 | "concurrency",
|
34 | "throttle",
|
35 | "throat",
|
36 | "rate",
|
37 | "batch",
|
38 | "ratelimit",
|
39 | "priority",
|
40 | "priorityqueue",
|
41 | "fifo",
|
42 | "job",
|
43 | "task",
|
44 | "async",
|
45 | "await",
|
46 | "promises",
|
47 | "bluebird"
|
48 | ],
|
49 | "dependencies": {
|
50 | "eventemitter3": "^5.0.1",
|
51 | "p-timeout": "^6.1.2"
|
52 | },
|
53 | "devDependencies": {
|
54 | "@sindresorhus/tsconfig": "^5.0.0",
|
55 | "@types/benchmark": "^2.1.5",
|
56 | "@types/node": "^20.10.4",
|
57 | "ava": "^5.3.1",
|
58 | "benchmark": "^2.1.4",
|
59 | "del-cli": "^5.1.0",
|
60 | "delay": "^6.0.0",
|
61 | "in-range": "^3.0.0",
|
62 | "p-defer": "^4.0.0",
|
63 | "random-int": "^3.0.0",
|
64 | "time-span": "^5.1.0",
|
65 | "tsd": "^0.29.0",
|
66 | "tsx": "^4.6.2",
|
67 | "typescript": "^5.3.3",
|
68 | "xo": "^0.56.0"
|
69 | },
|
70 | "ava": {
|
71 | "workerThreads": false,
|
72 | "files": [
|
73 | "test/**"
|
74 | ],
|
75 | "extensions": {
|
76 | "ts": "module"
|
77 | },
|
78 | "nodeArguments": [
|
79 | "--import=tsx/esm"
|
80 | ]
|
81 | },
|
82 | "xo": {
|
83 | "rules": {
|
84 | "@typescript-eslint/member-ordering": "off",
|
85 | "@typescript-eslint/no-floating-promises": "off",
|
86 | "@typescript-eslint/no-invalid-void-type": "off"
|
87 | }
|
88 | }
|
89 | }
|