refactor: factor out code to redistribute queued tasks
[poolifier.git] / package.json
CommitLineData
6dc67cda 1{
5648b9ca 2 "name": "poolifier",
fc97d613 3 "version": "2.6.8",
31d1ddd9 4 "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation",
479b44a7 5 "license": "MIT",
6abad580 6 "main": "./lib/index.js",
fe18768d
JB
7 "exports": {
8 ".": {
6abad580
JB
9 "require": "./lib/index.js",
10 "import": "./lib/index.mjs"
fe18768d
JB
11 }
12 },
6dc67cda 13 "scripts": {
ebfea361 14 "preinstall": "npx --yes only-allow pnpm",
86092b19 15 "prepare": "node prepare.js",
f4162974 16 "build": "rollup --config --environment BUILD:development",
9dc351aa
JB
17 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
18 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
f4162974 19 "build:prod": "rollup --config",
8a970421
JB
20 "benchmark": "pnpm build && node -r source-map-support/register benchmarks/internal/bench.mjs",
21 "benchmark:debug": "pnpm build && node -r source-map-support/register --inspect benchmarks/internal/bench.mjs",
22 "benchmark:prod": "pnpm build:prod && node -r source-map-support/register benchmarks/internal/bench.mjs",
bb8ed27c
JB
23 "test": "pnpm build && c8 mocha 'tests/**/*.test.js'",
24 "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
0fd86768
JB
25 "coverage": "c8 report --reporter=lcov",
26 "coverage:html": "c8 report --reporter=html",
e47bed93 27 "format": "prettier . --cache --write; ts-standard . --fix",
e99dbb69
JB
28 "lint": "eslint . --cache",
29 "lint:fix": "eslint . --cache --fix",
7d82d90e 30 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
05a66b11 31 "release": "release-it",
5ea22628 32 "typedoc": "typedoc",
bb8ed27c 33 "prepublishOnly": "pnpm build:prod"
6dc67cda 34 },
78cea37e 35 "ts-standard": {
af5204ed
JB
36 "globals": [
37 "describe",
38 "it",
39 "before",
40 "after",
41 "beforeEach",
42 "afterEach"
78cea37e
JB
43 ]
44 },
45 "engines": {
9e45c2c4 46 "node": ">=16.14.0",
0fb30db7 47 "pnpm": ">=8.6.0"
78cea37e 48 },
bc3227d8 49 "volta": {
d262e04c 50 "node": "20.3.1",
84058259 51 "pnpm": "8.6.6"
bc3227d8 52 },
6dc67cda 53 "repository": {
54 "type": "git",
6ccc1262 55 "url": "git+https://github.com/poolifier/poolifier.git"
6dc67cda 56 },
57 "keywords": [
58 "node",
31b90205
JB
59 "pool",
60 "workers pool",
61 "threads pool",
6dc67cda 62 "worker-threads",
660940b0 63 "cluster",
31b90205
JB
64 "cluster worker",
65 "concurrency",
6dc67cda 66 "performance",
67 "cpu",
973cde26 68 "computing",
31b90205
JB
69 "async computing",
70 "async resource"
6dc67cda 71 ],
6dc67cda 72 "author": "pioardi",
7e4f7b97 73 "contributors": [
74 {
75 "name": "Christopher Quadflieg",
76 "email": "chrissi92@hotmail.de",
77 "url": "https://github.com/Shinigami92"
78 },
79 {
818f2180 80 "name": "Jérôme Benoit",
7c638181 81 "email": "jerome.benoit@piment-noir.org",
7e4f7b97 82 "url": "https://github.com/jerome-benoit"
83 }
84 ],
479b44a7
JB
85 "funding": [
86 {
87 "type": "opencollective",
88 "url": "https://opencollective.com/poolifier"
09bf56a0
JB
89 },
90 {
91 "type": "github",
92 "url": "https://github.com/sponsors/poolifier"
479b44a7
JB
93 }
94 ],
6dc67cda 95 "bugs": {
6ccc1262 96 "url": "https://github.com/poolifier/poolifier/issues"
6dc67cda 97 },
6ccc1262 98 "homepage": "https://github.com/poolifier/poolifier#readme",
c2a9d1e6
S
99 "files": [
100 "lib"
101 ],
973cde26 102 "devDependencies": {
2c039e43
JB
103 "@commitlint/cli": "^17.6.6",
104 "@commitlint/config-conventional": "^17.6.6",
d150756d 105 "@release-it/bumper": "^4.0.2",
435bc05a 106 "@release-it/keep-a-changelog": "^3.1.0",
4745ba4a 107 "@rollup/plugin-terser": "^0.4.3",
af64732b 108 "@rollup/plugin-typescript": "^11.1.2",
7d2e3f59 109 "@types/node": "^20.4.0",
5e52ff61
JB
110 "@typescript-eslint/eslint-plugin": "^5.61.0",
111 "@typescript-eslint/parser": "^5.61.0",
ca6c7d70 112 "benny": "^3.7.1",
9aec5d40 113 "c8": "^8.0.0",
d09b37fc 114 "eslint": "^8.44.0",
458509ad 115 "eslint-config-standard": "^17.1.0",
ae46e139 116 "eslint-config-standard-with-typescript": "^36.0.0",
501f774f 117 "eslint-define-config": "^1.21.0",
8dafb5f1 118 "eslint-import-resolver-typescript": "^3.5.5",
6853a353 119 "eslint-plugin-import": "^2.27.5",
5d062e39 120 "eslint-plugin-jsdoc": "^46.4.3",
01d400ef 121 "eslint-plugin-n": "^16.0.1",
2f8c5b5c 122 "eslint-plugin-promise": "^6.1.1",
06f7a33b 123 "eslint-plugin-spellcheck": "^0.0.20",
38e795c1 124 "eslint-plugin-tsdoc": "^0.2.17",
f7510105 125 "expect": "^29.6.0",
a974afa6 126 "husky": "^8.0.3",
af64732b 127 "lint-staged": "^13.2.3",
7595e433 128 "microtime": "^3.1.1",
5d5a6f8f 129 "mocha": "^10.2.0",
5080f39d 130 "mochawesome": "^7.1.3",
1637c0f1 131 "prettier": "^2.8.8",
7d2e3f59 132 "release-it": "^16.0.0",
1655b92e 133 "rollup": "^3.26.1",
f45e4999 134 "rollup-plugin-analyzer": "^4.0.0",
5ea22628 135 "rollup-plugin-command": "^1.1.3",
660940b0 136 "rollup-plugin-delete": "^2.0.0",
501f774f 137 "sinon": "^15.2.0",
eae1fc25 138 "source-map-support": "^0.5.21",
c9102ab4 139 "ts-standard": "^12.0.2",
25038f6a 140 "typedoc": "^0.24.8",
4b00bdc1 141 "typescript": "^5.1.6"
777b7824 142 }
6dc67cda 143}