Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
4618ccfd | 4 | "version": "3.1.10", |
3eed0bf4 | 5 | "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool", |
479b44a7 | 6 | "license": "MIT", |
6abad580 | 7 | "main": "./lib/index.js", |
fe18768d JB |
8 | "exports": { |
9 | ".": { | |
9606b474 | 10 | "types": "./lib/index.d.ts", |
6abad580 JB |
11 | "require": "./lib/index.js", |
12 | "import": "./lib/index.mjs" | |
fe18768d JB |
13 | } |
14 | }, | |
6dc67cda | 15 | "scripts": { |
ebfea361 | 16 | "preinstall": "npx --yes only-allow pnpm", |
b1500787 | 17 | "prepare": "node prepare.mjs", |
f4162974 JB |
18 | "build": "rollup --config --environment BUILD:development", |
19 | "build:prod": "rollup --config", | |
387dac3b JB |
20 | "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", |
21 | "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", | |
00a2ffdb JB |
22 | "benchmark": "pnpm build && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs", |
23 | "benchmark:prod": "pnpm build:prod && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs", | |
24 | "benchmark:debug": "pnpm build && node --max-old-space-size=8192 --enable-source-maps --inspect benchmarks/internal/bench.mjs", | |
c329fd41 JB |
25 | "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'", |
26 | "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'", | |
0fd86768 JB |
27 | "coverage": "c8 report --reporter=lcov", |
28 | "coverage:html": "c8 report --reporter=html", | |
facb41d7 | 29 | "format": "biome format . --write; ts-standard . --fix", |
e99dbb69 JB |
30 | "lint": "eslint . --cache", |
31 | "lint:fix": "eslint . --cache --fix", | |
7d82d90e | 32 | "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", |
05a66b11 | 33 | "release": "release-it", |
2ab81545 | 34 | "typedoc": "node typedoc.mjs", |
bb8ed27c | 35 | "prepublishOnly": "pnpm build:prod" |
6dc67cda | 36 | }, |
78cea37e | 37 | "ts-standard": { |
1df5c5ee JB |
38 | "globals": [ |
39 | "describe", | |
40 | "it", | |
41 | "after", | |
42 | "before", | |
43 | "afterEach", | |
44 | "beforeEach" | |
45 | ] | |
78cea37e JB |
46 | }, |
47 | "engines": { | |
277c49bf | 48 | "node": ">=18.0.0", |
0fb30db7 | 49 | "pnpm": ">=8.6.0" |
78cea37e | 50 | }, |
bc3227d8 | 51 | "volta": { |
11370d9f | 52 | "node": "20.10.0", |
9cac2ec4 | 53 | "pnpm": "8.12.1" |
bc3227d8 | 54 | }, |
6dc67cda | 55 | "repository": { |
56 | "type": "git", | |
f6215a17 | 57 | "url": "https://github.com/poolifier/poolifier.git" |
6dc67cda | 58 | }, |
59 | "keywords": [ | |
66ce9e2d JB |
60 | "nodejs", |
61 | "worker pool", | |
62 | "thread pool", | |
2fbe1783 | 63 | "worker_threads", |
660940b0 | 64 | "cluster", |
31b90205 | 65 | "concurrency", |
6dc67cda | 66 | "performance", |
67 | "cpu", | |
973cde26 | 68 | "computing", |
66ce9e2d JB |
69 | "scheduling", |
70 | "parallelism", | |
71 | "eventloop" | |
6dc67cda | 72 | ], |
c613e813 JB |
73 | "author": { |
74 | "name": "Alessandro Pio Ardizio", | |
75 | "email": "alessandroardizio94@gmail.com", | |
76 | "url": "https://github.com/pioardi" | |
77 | }, | |
7e4f7b97 | 78 | "contributors": [ |
79 | { | |
80 | "name": "Christopher Quadflieg", | |
81 | "email": "chrissi92@hotmail.de", | |
82 | "url": "https://github.com/Shinigami92" | |
83 | }, | |
84 | { | |
818f2180 | 85 | "name": "Jérôme Benoit", |
7c638181 | 86 | "email": "jerome.benoit@piment-noir.org", |
7e4f7b97 | 87 | "url": "https://github.com/jerome-benoit" |
88 | } | |
89 | ], | |
479b44a7 JB |
90 | "funding": [ |
91 | { | |
92 | "type": "opencollective", | |
93 | "url": "https://opencollective.com/poolifier" | |
09bf56a0 JB |
94 | }, |
95 | { | |
96 | "type": "github", | |
97 | "url": "https://github.com/sponsors/poolifier" | |
479b44a7 JB |
98 | } |
99 | ], | |
6dc67cda | 100 | "bugs": { |
6ccc1262 | 101 | "url": "https://github.com/poolifier/poolifier/issues" |
6dc67cda | 102 | }, |
6ccc1262 | 103 | "homepage": "https://github.com/poolifier/poolifier#readme", |
1df5c5ee JB |
104 | "files": [ |
105 | "lib" | |
106 | ], | |
c6bcaac6 JB |
107 | "pnpm": { |
108 | "overrides": { | |
109 | "semver": "^7.5.3" | |
110 | } | |
111 | }, | |
973cde26 | 112 | "devDependencies": { |
1df5c5ee | 113 | "@biomejs/biome": "^1.4.1", |
ec88da80 JB |
114 | "@commitlint/cli": "^18.4.3", |
115 | "@commitlint/config-conventional": "^18.4.3", | |
9b0caac7 JB |
116 | "@release-it/bumper": "^6.0.1", |
117 | "@release-it/keep-a-changelog": "^5.0.0", | |
26bb464f JB |
118 | "@rollup/plugin-terser": "^0.4.4", |
119 | "@rollup/plugin-typescript": "^11.1.5", | |
c329fd41 | 120 | "@types/node": "^20.10.5", |
6f9b5c66 JB |
121 | "@typescript-eslint/eslint-plugin": "^6.15.0", |
122 | "@typescript-eslint/parser": "^6.15.0", | |
f1c674cd | 123 | "benchmark": "^2.1.4", |
21554946 | 124 | "c8": "^8.0.1", |
c329fd41 | 125 | "cross-env": "^7.0.3", |
b91134ce | 126 | "eslint": "^8.56.0", |
458509ad | 127 | "eslint-config-standard": "^17.1.0", |
b91134ce | 128 | "eslint-config-standard-with-typescript": "^43.0.0", |
c2ec8943 | 129 | "eslint-define-config": "^2.0.0", |
6bd229c4 | 130 | "eslint-import-resolver-typescript": "^3.6.1", |
44bd1107 JB |
131 | "eslint-plugin-import": "^2.29.1", |
132 | "eslint-plugin-jsdoc": "^46.9.1", | |
17f2e978 | 133 | "eslint-plugin-n": "^16.5.0", |
2f8c5b5c | 134 | "eslint-plugin-promise": "^6.1.1", |
06f7a33b | 135 | "eslint-plugin-spellcheck": "^0.0.20", |
38e795c1 | 136 | "eslint-plugin-tsdoc": "^0.2.17", |
1c25f937 | 137 | "expect": "^29.7.0", |
a974afa6 | 138 | "husky": "^8.0.3", |
83a73943 | 139 | "lint-staged": "^15.2.0", |
7595e433 | 140 | "microtime": "^3.1.1", |
5d5a6f8f | 141 | "mocha": "^10.2.0", |
5080f39d | 142 | "mochawesome": "^7.1.3", |
d3155639 | 143 | "prettier": "^3.1.1", |
8428b256 | 144 | "release-it": "^17.0.1", |
1b5a0303 | 145 | "rollup": "^4.9.1", |
f45e4999 | 146 | "rollup-plugin-analyzer": "^4.0.0", |
5ea22628 | 147 | "rollup-plugin-command": "^1.1.3", |
660940b0 | 148 | "rollup-plugin-delete": "^2.0.0", |
870a814b | 149 | "rollup-plugin-dts": "^6.1.0", |
b4d55613 | 150 | "sinon": "^17.0.1", |
c9102ab4 | 151 | "ts-standard": "^12.0.2", |
adccd57c | 152 | "typedoc": "^0.25.4", |
9e84dd97 | 153 | "typescript": "~5.3.3" |
777b7824 | 154 | } |
6dc67cda | 155 | } |