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