refactor: factor out worker message handlers
[poolifier.git] / package.json
1 {
2 "name": "poolifier",
3 "version": "2.6.6",
4 "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation",
5 "license": "MIT",
6 "main": "./lib/index.js",
7 "exports": {
8 ".": {
9 "require": "./lib/index.js",
10 "import": "./lib/index.mjs"
11 }
12 },
13 "scripts": {
14 "preinstall": "npx --yes only-allow pnpm",
15 "prepare": "node prepare.js",
16 "build": "rollup --config --environment BUILD:development",
17 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
18 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
19 "build:prod": "rollup --config",
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",
23 "test": "pnpm build && c8 mocha 'tests/**/*.test.js'",
24 "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
25 "coverage": "c8 report --reporter=lcov",
26 "coverage:html": "c8 report --reporter=html",
27 "format": "prettier . --cache --write; ts-standard . --fix",
28 "lint": "eslint . --cache",
29 "lint:fix": "eslint . --cache --fix",
30 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
31 "release": "release-it",
32 "typedoc": "typedoc",
33 "prepublishOnly": "pnpm build:prod"
34 },
35 "ts-standard": {
36 "globals": [
37 "describe",
38 "it",
39 "before",
40 "after",
41 "beforeEach",
42 "afterEach"
43 ]
44 },
45 "engines": {
46 "node": ">=16.14.0",
47 "pnpm": ">=8.6.0"
48 },
49 "volta": {
50 "node": "20.3.1",
51 "pnpm": "8.6.5"
52 },
53 "repository": {
54 "type": "git",
55 "url": "git+https://github.com/poolifier/poolifier.git"
56 },
57 "keywords": [
58 "node",
59 "pool",
60 "workers pool",
61 "threads pool",
62 "worker-threads",
63 "cluster",
64 "cluster worker",
65 "concurrency",
66 "performance",
67 "cpu",
68 "computing",
69 "async computing",
70 "async resource"
71 ],
72 "author": "pioardi",
73 "contributors": [
74 {
75 "name": "Christopher Quadflieg",
76 "email": "chrissi92@hotmail.de",
77 "url": "https://github.com/Shinigami92"
78 },
79 {
80 "name": "Jérôme Benoit",
81 "email": "jerome.benoit@piment-noir.org",
82 "url": "https://github.com/jerome-benoit"
83 }
84 ],
85 "funding": [
86 {
87 "type": "opencollective",
88 "url": "https://opencollective.com/poolifier"
89 },
90 {
91 "type": "github",
92 "url": "https://github.com/sponsors/poolifier"
93 }
94 ],
95 "bugs": {
96 "url": "https://github.com/poolifier/poolifier/issues"
97 },
98 "homepage": "https://github.com/poolifier/poolifier#readme",
99 "files": [
100 "lib"
101 ],
102 "devDependencies": {
103 "@commitlint/cli": "^17.6.6",
104 "@commitlint/config-conventional": "^17.6.6",
105 "@release-it/bumper": "^4.0.2",
106 "@release-it/keep-a-changelog": "^3.1.0",
107 "@rollup/plugin-terser": "^0.4.3",
108 "@rollup/plugin-typescript": "^11.1.2",
109 "@types/node": "^20.3.3",
110 "@typescript-eslint/eslint-plugin": "^5.60.1",
111 "@typescript-eslint/parser": "^5.60.1",
112 "benny": "^3.7.1",
113 "c8": "^8.0.0",
114 "eslint": "^8.44.0",
115 "eslint-config-standard": "^17.1.0",
116 "eslint-config-standard-with-typescript": "^36.0.0",
117 "eslint-define-config": "^1.21.0",
118 "eslint-import-resolver-typescript": "^3.5.5",
119 "eslint-plugin-import": "^2.27.5",
120 "eslint-plugin-jsdoc": "^46.4.3",
121 "eslint-plugin-n": "^16.0.1",
122 "eslint-plugin-promise": "^6.1.1",
123 "eslint-plugin-spellcheck": "^0.0.20",
124 "eslint-plugin-tsdoc": "^0.2.17",
125 "expect": "^29.5.0",
126 "husky": "^8.0.3",
127 "lint-staged": "^13.2.3",
128 "microtime": "^3.1.1",
129 "mocha": "^10.2.0",
130 "mochawesome": "^7.1.3",
131 "prettier": "^2.8.8",
132 "release-it": "^15.11.0",
133 "rollup": "^3.26.0",
134 "rollup-plugin-analyzer": "^4.0.0",
135 "rollup-plugin-command": "^1.1.3",
136 "rollup-plugin-delete": "^2.0.0",
137 "sinon": "^15.2.0",
138 "source-map-support": "^0.5.21",
139 "ts-standard": "^12.0.2",
140 "typedoc": "^0.24.8",
141 "typescript": "^5.1.6"
142 }
143 }