d95a36ba7d720d904ec50768a432dc60206cfe70
[poolifier.git] / package.json
1 {
2 "$schema": "https://json.schemastore.org/package",
3 "name": "poolifier",
4 "version": "3.1.28",
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 "preinstall": "npx --yes only-allow pnpm",
20 "prepare": "node prepare.mjs",
21 "build": "rollup --config --environment BUILD:development",
22 "build:prod": "rollup --config",
23 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
24 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
25 "benchmark:benchmark.js": "pnpm build && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs -t benchmark.js",
26 "benchmark:benchmark.js:prod": "pnpm build:prod && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs -t benchmark.js",
27 "benchmark:benchmark.js:debug": "pnpm build && node --max-old-space-size=8192 --enable-source-maps --inspect benchmarks/internal/bench.mjs -t benchmark.js",
28 "benchmark:mitata": "pnpm build && node --enable-source-maps benchmarks/internal/bench.mjs -t mitata",
29 "benchmark:mitata:prod": "pnpm build:prod && node --enable-source-maps benchmarks/internal/bench.mjs -t mitata",
30 "benchmark:mitata:debug": "pnpm build && node --enable-source-maps --inspect benchmarks/internal/bench.mjs -t mitata",
31 "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'",
32 "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'",
33 "coverage": "c8 report --reporter=lcov",
34 "coverage:html": "c8 report --reporter=html",
35 "format": "biome format . --write; eslint . --cache --fix",
36 "lint": "eslint . --cache",
37 "lint:fix": "eslint . --cache --fix",
38 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
39 "release": "release-it",
40 "typedoc": "node typedoc.mjs",
41 "prepublishOnly": "pnpm build:prod"
42 },
43 "engines": {
44 "node": ">=18.0.0",
45 "pnpm": ">=8.6.0"
46 },
47 "volta": {
48 "node": "20.12.0",
49 "pnpm": "8.15.5"
50 },
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.6.3",
108 "@commitlint/cli": "^19.2.1",
109 "@commitlint/config-conventional": "^19.1.0",
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.2",
115 "@typescript-eslint/eslint-plugin": "^7.5.0",
116 "@typescript-eslint/parser": "^7.5.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": "^43.1.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.2",
127 "eslint-plugin-n": "^16.6.2",
128 "eslint-plugin-promise": "^6.1.1",
129 "eslint-plugin-simple-import-sort": "^12.0.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 "mitata": "^0.1.11",
137 "mocha": "^10.4.0",
138 "mochawesome": "^7.1.3",
139 "prettier": "^3.2.5",
140 "release-it": "^17.1.1",
141 "rollup": "^4.13.2",
142 "rollup-plugin-analyzer": "^4.0.0",
143 "rollup-plugin-command": "^1.1.3",
144 "rollup-plugin-delete": "^2.0.0",
145 "rollup-plugin-dts": "^6.1.0",
146 "sinon": "^17.0.1",
147 "typedoc": "^0.25.12",
148 "typescript": "~5.4.3"
149 }
150 }