UNPKG

1.59 kBJSONView Raw
1{
2 "name": "promise-batcher",
3 "version": "1.1.1",
4 "description": "A module for batching individual promises to improve their collective efficiency.",
5 "keywords": [
6 "batching",
7 "promise",
8 "promises",
9 "concurrency",
10 "es6",
11 "async",
12 "await",
13 "queue"
14 ],
15 "author": "Wes van Vugt <wes.vanvugt@gmail.com>",
16 "repository": "WesVanVugt/promise-batcher",
17 "scripts": {
18 "prepare": "npm run clean && tsc -p ./tsconfig.build.json && tsc -p ./tsconfig.nocomments.json && prettier -w index.js index.d.ts",
19 "clean": "rm -rf index.js index.d.ts *.tgz",
20 "test": "npm run lint && npm run test:local && npm run test:package",
21 "test:local": "jest --color",
22 "test:package": "bash test-package.sh",
23 "test:debug": "cross-env NODE_DEBUG=promise-batcher npm run test:local",
24 "lint": "eslint --color --max-warnings 0 --ext .ts ."
25 },
26 "main": "index.js",
27 "typings": "index.d.ts",
28 "engines": {
29 "node": ">=8"
30 },
31 "files": [
32 "index.js",
33 "index.d.ts"
34 ],
35 "dependencies": {
36 "p-defer": "^3.0.0"
37 },
38 "devDependencies": {
39 "@tsconfig/node12": "^1.0.11",
40 "@types/eslint": "^8.4.10",
41 "@types/jest": "^29.2.5",
42 "@types/node": "^18.11.18",
43 "@types/promise-polyfill": "^6.0.4",
44 "@typescript-eslint/eslint-plugin": "^5.48.1",
45 "@typescript-eslint/parser": "^5.48.1",
46 "cross-env": "^7.0.3",
47 "eslint": "^8.31.0",
48 "eslint-plugin-prettier": "^4.2.1",
49 "jest": "^29.3.1",
50 "prettier": "^2.8.2",
51 "promise-polyfill": "^8.2.3",
52 "time-span": "^4.0.0",
53 "ts-expect": "^1.3.0",
54 "ts-jest": "^29.0.4",
55 "typescript": "^4.9.4"
56 },
57 "sideEffects": false,
58 "license": "MIT"
59}