fix: readd cpu speed computation but only if necessary
[poolifier.git] / package.json
1 {
2 "$schema": "https://json.schemastore.org/package",
3 "name": "poolifier",
4 "version": "3.1.22",
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": "pnpm build && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs",
26 "benchmark:prod": "pnpm build:prod && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs",
27 "benchmark:debug": "pnpm build && node --max-old-space-size=8192 --enable-source-maps --inspect benchmarks/internal/bench.mjs",
28 "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'",
29 "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'",
30 "coverage": "c8 report --reporter=lcov",
31 "coverage:html": "c8 report --reporter=html",
32 "format": "biome format . --write; eslint . --cache --fix",
33 "lint": "eslint . --cache",
34 "lint:fix": "eslint . --cache --fix",
35 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
36 "release": "release-it",
37 "typedoc": "node typedoc.mjs",
38 "prepublishOnly": "pnpm build:prod"
39 },
40 "engines": {
41 "node": ">=18.0.0",
42 "pnpm": ">=8.6.0"
43 },
44 "volta": {
45 "node": "20.11.1",
46 "pnpm": "8.15.4"
47 },
48 "repository": {
49 "type": "git",
50 "url": "https://github.com/poolifier/poolifier.git"
51 },
52 "keywords": [
53 "nodejs",
54 "worker pool",
55 "thread pool",
56 "worker_threads",
57 "cluster",
58 "concurrency",
59 "performance",
60 "cpu",
61 "computing",
62 "scheduling",
63 "parallelism",
64 "eventloop"
65 ],
66 "author": {
67 "name": "Alessandro Pio Ardizio",
68 "email": "alessandroardizio94@gmail.com",
69 "url": "https://github.com/pioardi"
70 },
71 "contributors": [
72 {
73 "name": "Christopher Quadflieg",
74 "email": "chrissi92@hotmail.de",
75 "url": "https://github.com/Shinigami92"
76 },
77 {
78 "name": "Jérôme Benoit",
79 "email": "jerome.benoit@piment-noir.org",
80 "url": "https://github.com/jerome-benoit"
81 }
82 ],
83 "funding": [
84 {
85 "type": "opencollective",
86 "url": "https://opencollective.com/poolifier"
87 },
88 {
89 "type": "github",
90 "url": "https://github.com/sponsors/poolifier"
91 }
92 ],
93 "bugs": {
94 "url": "https://github.com/poolifier/poolifier/issues"
95 },
96 "homepage": "https://github.com/poolifier/poolifier#readme",
97 "files": ["lib"],
98 "pnpm": {
99 "overrides": {
100 "semver": "^7.5.3"
101 }
102 },
103 "devDependencies": {
104 "@biomejs/biome": "^1.6.1",
105 "@commitlint/cli": "^19.2.0",
106 "@commitlint/config-conventional": "^19.1.0",
107 "@release-it/bumper": "^6.0.1",
108 "@release-it/keep-a-changelog": "^5.0.0",
109 "@rollup/plugin-terser": "^0.4.4",
110 "@rollup/plugin-typescript": "^11.1.6",
111 "@types/node": "^20.11.28",
112 "@typescript-eslint/eslint-plugin": "^7.2.0",
113 "@typescript-eslint/parser": "^7.2.0",
114 "benchmark": "^2.1.4",
115 "c8": "^9.1.0",
116 "cross-env": "^7.0.3",
117 "eslint": "^8.57.0",
118 "eslint-config-love": "^43.1.0",
119 "eslint-config-standard": "^17.1.0",
120 "eslint-define-config": "^2.1.0",
121 "eslint-import-resolver-typescript": "^3.6.1",
122 "eslint-plugin-import": "^2.29.1",
123 "eslint-plugin-jsdoc": "^48.2.1",
124 "eslint-plugin-n": "^16.6.2",
125 "eslint-plugin-promise": "^6.1.1",
126 "eslint-plugin-simple-import-sort": "^12.0.0",
127 "eslint-plugin-spellcheck": "^0.0.20",
128 "eslint-plugin-tsdoc": "^0.2.17",
129 "expect": "^29.7.0",
130 "husky": "^9.0.11",
131 "lint-staged": "^15.2.2",
132 "microtime": "^3.1.1",
133 "mocha": "^10.3.0",
134 "mochawesome": "^7.1.3",
135 "prettier": "^3.2.5",
136 "release-it": "^17.1.1",
137 "rollup": "^4.13.0",
138 "rollup-plugin-analyzer": "^4.0.0",
139 "rollup-plugin-command": "^1.1.3",
140 "rollup-plugin-delete": "^2.0.0",
141 "rollup-plugin-dts": "^6.1.0",
142 "sinon": "^17.0.1",
143 "typedoc": "^0.25.12",
144 "typescript": "~5.4.2"
145 }
146 }