1 | {
|
2 | "name": "promise-batcher",
|
3 | "version": "1.0.3",
|
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",
|
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": "nyc mocha --colors --require ts-node/register ts/test/*.test.ts",
|
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 | "@sinonjs/fake-timers": "^7.1.2",
|
40 | "@types/chai-as-promised": "^7.1.4",
|
41 | "@types/mocha": "^8.2.2",
|
42 | "@types/node": "^14.17.4",
|
43 | "@types/promise-polyfill": "^6.0.3",
|
44 | "@types/sinonjs__fake-timers": "^6.0.2",
|
45 | "@typescript-eslint/eslint-plugin": "^4.28.2",
|
46 | "@typescript-eslint/parser": "^4.28.2",
|
47 | "chai": "^4.3.4",
|
48 | "chai-as-promised": "^7.1.1",
|
49 | "cross-env": "^7.0.3",
|
50 | "eslint": "^7.30.0",
|
51 | "eslint-plugin-prettier": "^3.4.0",
|
52 | "mocha": "^9.0.2",
|
53 | "nyc": "^15.1.0",
|
54 | "prettier": "^2.3.2",
|
55 | "promise-polyfill": "^8.2.0",
|
56 | "time-span": "^4.0.0",
|
57 | "ts-expect": "^1.3.0",
|
58 | "ts-node": "^10.0.0",
|
59 | "typescript": "^4.3.5"
|
60 | },
|
61 | "license": "MIT",
|
62 | "nyc": {
|
63 | "extension": [
|
64 | ".ts"
|
65 | ]
|
66 | }
|
67 | }
|