refactor: refactor function arguments
[poolifier.git] / package.json
CommitLineData
6dc67cda 1{
4f19da60 2 "$schema": "https://json.schemastore.org/package",
5648b9ca 3 "name": "poolifier",
840d1755 4 "version": "4.0.1",
3eed0bf4 5 "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool",
479b44a7 6 "license": "MIT",
d35e5717
JB
7 "type": "module",
8 "main": "./lib/index.cjs",
fc3eb720 9 "module": "./lib/index.mjs",
108782d6 10 "types": "./lib/index.d.ts",
fe18768d
JB
11 "exports": {
12 ".": {
9606b474 13 "types": "./lib/index.d.ts",
d35e5717 14 "require": "./lib/index.cjs",
6abad580 15 "import": "./lib/index.mjs"
fe18768d
JB
16 }
17 },
6dc67cda 18 "scripts": {
b1500787 19 "prepare": "node prepare.mjs",
f4162974
JB
20 "build": "rollup --config --environment BUILD:development",
21 "build:prod": "rollup --config",
387dac3b
JB
22 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
23 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
0804b9b4
JB
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",
98f60ddd
JB
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",
c329fd41
JB
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'",
0fd86768
JB
32 "coverage": "c8 report --reporter=lcov",
33 "coverage:html": "c8 report --reporter=html",
6e50abac 34 "format": "biome format . --write; eslint . --cache --fix",
e99dbb69
JB
35 "lint": "eslint . --cache",
36 "lint:fix": "eslint . --cache --fix",
7d82d90e 37 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
05a66b11 38 "release": "release-it",
2ab81545 39 "typedoc": "node typedoc.mjs",
bb8ed27c 40 "prepublishOnly": "pnpm build:prod"
6dc67cda 41 },
78cea37e 42 "engines": {
b9ded264 43 "node": ">=18.0.0",
3d5424d5 44 "pnpm": ">=9.0.0"
78cea37e 45 },
bc3227d8 46 "volta": {
df04527c 47 "node": "22.0.0",
ba0ad5be 48 "pnpm": "9.0.6"
bc3227d8 49 },
ba0ad5be 50 "packageManager": "pnpm@9.0.6",
6dc67cda 51 "repository": {
52 "type": "git",
f6215a17 53 "url": "https://github.com/poolifier/poolifier.git"
6dc67cda 54 },
55 "keywords": [
66ce9e2d
JB
56 "nodejs",
57 "worker pool",
58 "thread pool",
2fbe1783 59 "worker_threads",
660940b0 60 "cluster",
31b90205 61 "concurrency",
6dc67cda 62 "performance",
63 "cpu",
973cde26 64 "computing",
66ce9e2d
JB
65 "scheduling",
66 "parallelism",
67 "eventloop"
6dc67cda 68 ],
c613e813
JB
69 "author": {
70 "name": "Alessandro Pio Ardizio",
71 "email": "alessandroardizio94@gmail.com",
72 "url": "https://github.com/pioardi"
73 },
7e4f7b97 74 "contributors": [
75 {
76 "name": "Christopher Quadflieg",
77 "email": "chrissi92@hotmail.de",
78 "url": "https://github.com/Shinigami92"
79 },
80 {
818f2180 81 "name": "Jérôme Benoit",
7c638181 82 "email": "jerome.benoit@piment-noir.org",
7e4f7b97 83 "url": "https://github.com/jerome-benoit"
84 }
85 ],
479b44a7
JB
86 "funding": [
87 {
88 "type": "opencollective",
89 "url": "https://opencollective.com/poolifier"
09bf56a0
JB
90 },
91 {
92 "type": "github",
93 "url": "https://github.com/sponsors/poolifier"
479b44a7
JB
94 }
95 ],
6dc67cda 96 "bugs": {
6ccc1262 97 "url": "https://github.com/poolifier/poolifier/issues"
6dc67cda 98 },
6ccc1262 99 "homepage": "https://github.com/poolifier/poolifier#readme",
4669e767 100 "files": ["lib"],
c6bcaac6
JB
101 "pnpm": {
102 "overrides": {
103 "semver": "^7.5.3"
104 }
105 },
973cde26 106 "devDependencies": {
4a6ebc42 107 "@biomejs/biome": "^1.7.2",
4f48f613 108 "@commitlint/cli": "^19.3.0",
53a0019f 109 "@commitlint/config-conventional": "^19.2.2",
9b0caac7
JB
110 "@release-it/bumper": "^6.0.1",
111 "@release-it/keep-a-changelog": "^5.0.0",
26bb464f 112 "@rollup/plugin-terser": "^0.4.4",
6800818f 113 "@rollup/plugin-typescript": "^11.1.6",
5bce9acc 114 "@types/node": "^20.12.8",
4a6ebc42
JB
115 "@typescript-eslint/eslint-plugin": "^7.8.0",
116 "@typescript-eslint/parser": "^7.8.0",
f1c674cd 117 "benchmark": "^2.1.4",
fd7f20bf 118 "c8": "^9.1.0",
c329fd41 119 "cross-env": "^7.0.3",
249f260c 120 "eslint": "^8.57.0",
78338da8 121 "eslint-config-love": "^47.0.0",
458509ad 122 "eslint-config-standard": "^17.1.0",
09551c27 123 "eslint-define-config": "^2.1.0",
6bd229c4 124 "eslint-import-resolver-typescript": "^3.6.1",
44bd1107 125 "eslint-plugin-import": "^2.29.1",
773881ea 126 "eslint-plugin-jsdoc": "^48.2.3",
4a6ebc42 127 "eslint-plugin-n": "^17.4.0",
2f8c5b5c 128 "eslint-plugin-promise": "^6.1.1",
98ec2d70 129 "eslint-plugin-simple-import-sort": "^12.1.0",
06f7a33b 130 "eslint-plugin-spellcheck": "^0.0.20",
38e795c1 131 "eslint-plugin-tsdoc": "^0.2.17",
1c25f937 132 "expect": "^29.7.0",
902f1af1 133 "husky": "^9.0.11",
346abcd7 134 "lint-staged": "^15.2.2",
7595e433 135 "microtime": "^3.1.1",
eb04c871 136 "mocha": "^10.4.0",
5080f39d 137 "mochawesome": "^7.1.3",
2fdbf3a9 138 "prettier": "^3.2.5",
df04527c 139 "release-it": "^17.2.1",
4a6ebc42 140 "rollup": "^4.17.2",
f45e4999 141 "rollup-plugin-analyzer": "^4.0.0",
5ea22628 142 "rollup-plugin-command": "^1.1.3",
660940b0 143 "rollup-plugin-delete": "^2.0.0",
870a814b 144 "rollup-plugin-dts": "^6.1.0",
b4d55613 145 "sinon": "^17.0.1",
27c09587 146 "tatami-ng": "^0.4.4",
66c8eb90 147 "typedoc": "^0.25.13",
f86caabc 148 "typescript": "~5.4.5"
777b7824 149 }
6dc67cda 150}