refactor: refactor function arguments
[poolifier.git] / package.json
1 {
2 "$schema": "https://json.schemastore.org/package",
3 "name": "poolifier",
4 "version": "3.1.29",
5 "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool",
6 "license": "MIT",
7 "type": "module",
8 "main": "./lib/index.cjs",
9 "module": "./lib/index.mjs",
10 "types": "./lib/index.d.ts",
11 "exports": {
12 ".": {
13 "types": "./lib/index.d.ts",
14 "require": "./lib/index.cjs",
15 "import": "./lib/index.mjs"
16 }
17 },
18 "scripts": {
19 "prepare": "node prepare.mjs",
20 "build": "rollup --config --environment BUILD:development",
21 "build:prod": "rollup --config",
22 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
23 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
24 "benchmark:benchmark.js": "pnpm build && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs -t benchmark.js",
25 "benchmark:benchmark.js:prod": "pnpm build:prod && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs -t benchmark.js",
26 "benchmark:benchmark.js:debug": "pnpm build && node --max-old-space-size=8192 --enable-source-maps --inspect benchmarks/internal/bench.mjs -t benchmark.js",
27 "benchmark:tatami-ng": "pnpm build && node --enable-source-maps benchmarks/internal/bench.mjs -t tatami-ng",
28 "benchmark:tatami-ng:prod": "pnpm build:prod && node --enable-source-maps benchmarks/internal/bench.mjs -t tatami-ng",
29 "benchmark:tatami-ng:debug": "pnpm build && node --enable-source-maps --inspect benchmarks/internal/bench.mjs -t tatami-ng",
30 "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'",
31 "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'",
32 "coverage": "c8 report --reporter=lcov",
33 "coverage:html": "c8 report --reporter=html",
34 "format": "biome format . --write; eslint . --cache --fix",
35 "lint": "eslint . --cache",
36 "lint:fix": "eslint . --cache --fix",
37 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
38 "release": "release-it",
39 "typedoc": "node typedoc.mjs",
40 "prepublishOnly": "pnpm build:prod"
41 },
42 "engines": {
43 "node": ">=18.0.0",
44 "pnpm": ">=9.0.0"
45 },
46 "volta": {
47 "node": "20.12.2",
48 "pnpm": "9.0.4"
49 },
50 "packageManager": "pnpm@9.0.4",
51 "repository": {
52 "type": "git",
53 "url": "https://github.com/poolifier/poolifier.git"
54 },
55 "keywords": [
56 "nodejs",
57 "worker pool",
58 "thread pool",
59 "worker_threads",
60 "cluster",
61 "concurrency",
62 "performance",
63 "cpu",
64 "computing",
65 "scheduling",
66 "parallelism",
67 "eventloop"
68 ],
69 "author": {
70 "name": "Alessandro Pio Ardizio",
71 "email": "alessandroardizio94@gmail.com",
72 "url": "https://github.com/pioardi"
73 },
74 "contributors": [
75 {
76 "name": "Christopher Quadflieg",
77 "email": "chrissi92@hotmail.de",
78 "url": "https://github.com/Shinigami92"
79 },
80 {
81 "name": "Jérôme Benoit",
82 "email": "jerome.benoit@piment-noir.org",
83 "url": "https://github.com/jerome-benoit"
84 }
85 ],
86 "funding": [
87 {
88 "type": "opencollective",
89 "url": "https://opencollective.com/poolifier"
90 },
91 {
92 "type": "github",
93 "url": "https://github.com/sponsors/poolifier"
94 }
95 ],
96 "bugs": {
97 "url": "https://github.com/poolifier/poolifier/issues"
98 },
99 "homepage": "https://github.com/poolifier/poolifier#readme",
100 "files": ["lib"],
101 "pnpm": {
102 "overrides": {
103 "semver": "^7.5.3"
104 }
105 },
106 "devDependencies": {
107 "@biomejs/biome": "^1.7.0",
108 "@commitlint/cli": "^19.2.2",
109 "@commitlint/config-conventional": "^19.2.2",
110 "@release-it/bumper": "^6.0.1",
111 "@release-it/keep-a-changelog": "^5.0.0",
112 "@rollup/plugin-terser": "^0.4.4",
113 "@rollup/plugin-typescript": "^11.1.6",
114 "@types/node": "^20.12.7",
115 "@typescript-eslint/eslint-plugin": "^7.7.0",
116 "@typescript-eslint/parser": "^7.7.0",
117 "benchmark": "^2.1.4",
118 "c8": "^9.1.0",
119 "cross-env": "^7.0.3",
120 "eslint": "^8.57.0",
121 "eslint-config-love": "^47.0.0",
122 "eslint-config-standard": "^17.1.0",
123 "eslint-define-config": "^2.1.0",
124 "eslint-import-resolver-typescript": "^3.6.1",
125 "eslint-plugin-import": "^2.29.1",
126 "eslint-plugin-jsdoc": "^48.2.3",
127 "eslint-plugin-n": "^17.2.1",
128 "eslint-plugin-promise": "^6.1.1",
129 "eslint-plugin-simple-import-sort": "^12.1.0",
130 "eslint-plugin-spellcheck": "^0.0.20",
131 "eslint-plugin-tsdoc": "^0.2.17",
132 "expect": "^29.7.0",
133 "husky": "^9.0.11",
134 "lint-staged": "^15.2.2",
135 "microtime": "^3.1.1",
136 "mocha": "^10.4.0",
137 "mochawesome": "^7.1.3",
138 "prettier": "^3.2.5",
139 "release-it": "^17.2.0",
140 "rollup": "^4.14.3",
141 "rollup-plugin-analyzer": "^4.0.0",
142 "rollup-plugin-command": "^1.1.3",
143 "rollup-plugin-delete": "^2.0.0",
144 "rollup-plugin-dts": "^6.1.0",
145 "sinon": "^17.0.1",
146 "tatami-ng": "^0.4.1",
147 "typedoc": "^0.25.13",
148 "typescript": "~5.4.5"
149 }
150 }