UNPKG

1.66 kBJSONView Raw
1{
2 "name": "p-queue",
3 "version": "7.3.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": "./dist/index.js",
10 "engines": {
11 "node": ">=12"
12 },
13 "scripts": {
14 "build": "del dist && tsc",
15 "test": "xo && npm run build && nyc ava",
16 "bench": "node --loader=ts-node/esm bench.ts",
17 "prepare": "npm run build"
18 },
19 "files": [
20 "dist"
21 ],
22 "types": "dist/index.d.ts",
23 "keywords": [
24 "promise",
25 "queue",
26 "enqueue",
27 "limit",
28 "limited",
29 "concurrency",
30 "throttle",
31 "throat",
32 "rate",
33 "batch",
34 "ratelimit",
35 "priority",
36 "priorityqueue",
37 "fifo",
38 "job",
39 "task",
40 "async",
41 "await",
42 "promises",
43 "bluebird"
44 ],
45 "dependencies": {
46 "eventemitter3": "^4.0.7",
47 "p-timeout": "^5.0.2"
48 },
49 "devDependencies": {
50 "@sindresorhus/tsconfig": "^2.0.0",
51 "@types/benchmark": "^2.1.1",
52 "@types/node": "^17.0.13",
53 "ava": "^4.0.1",
54 "benchmark": "^2.1.4",
55 "codecov": "^3.8.3",
56 "del-cli": "^4.0.1",
57 "delay": "^5.0.0",
58 "in-range": "^3.0.0",
59 "nyc": "^15.1.0",
60 "p-defer": "^4.0.0",
61 "random-int": "^3.0.0",
62 "time-span": "^5.0.0",
63 "ts-node": "^10.4.0",
64 "typescript": "^4.5.5",
65 "xo": "^0.44.0"
66 },
67 "ava": {
68 "files": [
69 "test/**"
70 ],
71 "extensions": {
72 "ts": "module"
73 },
74 "nodeArguments": [
75 "--loader=ts-node/esm"
76 ]
77 },
78 "xo": {
79 "rules": {
80 "@typescript-eslint/member-ordering": "off",
81 "@typescript-eslint/no-floating-promises": "off",
82 "@typescript-eslint/no-invalid-void-type": "off"
83 }
84 },
85 "nyc": {
86 "extension": [
87 ".ts"
88 ]
89 }
90}