Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
5aa31a74 | 4 | "version": "3.0.5", |
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", | |
d7154f8c JB |
22 | "benchmark": "pnpm build && node --max-old-space-size=4096 --enable-source-maps benchmarks/internal/bench.mjs", |
23 | "benchmark:prod": "pnpm build:prod && node --max-old-space-size=4096 --enable-source-maps benchmarks/internal/bench.mjs", | |
24 | "benchmark:debug": "pnpm build && node --max-old-space-size=4096 --enable-source-maps --inspect benchmarks/internal/bench.mjs", | |
a074ffee JB |
25 | "test": "pnpm build --environment SOURCEMAP:false && c8 mocha 'tests/**/*.test.mjs'", |
26 | "test:debug": "pnpm build && 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": { |
cd424e31 | 38 | "globals": ["describe", "it", "after", "before", "afterEach", "beforeEach"] |
78cea37e JB |
39 | }, |
40 | "engines": { | |
277c49bf | 41 | "node": ">=18.0.0", |
0fb30db7 | 42 | "pnpm": ">=8.6.0" |
78cea37e | 43 | }, |
bc3227d8 | 44 | "volta": { |
1c5b9068 | 45 | "node": "20.9.0", |
d8abae29 | 46 | "pnpm": "8.10.2" |
bc3227d8 | 47 | }, |
6dc67cda | 48 | "repository": { |
49 | "type": "git", | |
f6215a17 | 50 | "url": "https://github.com/poolifier/poolifier.git" |
6dc67cda | 51 | }, |
52 | "keywords": [ | |
66ce9e2d JB |
53 | "nodejs", |
54 | "worker pool", | |
55 | "thread pool", | |
2fbe1783 | 56 | "worker_threads", |
660940b0 | 57 | "cluster", |
31b90205 | 58 | "concurrency", |
6dc67cda | 59 | "performance", |
60 | "cpu", | |
973cde26 | 61 | "computing", |
66ce9e2d JB |
62 | "scheduling", |
63 | "parallelism", | |
64 | "eventloop" | |
6dc67cda | 65 | ], |
c613e813 JB |
66 | "author": { |
67 | "name": "Alessandro Pio Ardizio", | |
68 | "email": "alessandroardizio94@gmail.com", | |
69 | "url": "https://github.com/pioardi" | |
70 | }, | |
7e4f7b97 | 71 | "contributors": [ |
72 | { | |
73 | "name": "Christopher Quadflieg", | |
74 | "email": "chrissi92@hotmail.de", | |
75 | "url": "https://github.com/Shinigami92" | |
76 | }, | |
77 | { | |
818f2180 | 78 | "name": "Jérôme Benoit", |
7c638181 | 79 | "email": "jerome.benoit@piment-noir.org", |
7e4f7b97 | 80 | "url": "https://github.com/jerome-benoit" |
81 | } | |
82 | ], | |
479b44a7 JB |
83 | "funding": [ |
84 | { | |
85 | "type": "opencollective", | |
86 | "url": "https://opencollective.com/poolifier" | |
09bf56a0 JB |
87 | }, |
88 | { | |
89 | "type": "github", | |
90 | "url": "https://github.com/sponsors/poolifier" | |
479b44a7 JB |
91 | } |
92 | ], | |
6dc67cda | 93 | "bugs": { |
6ccc1262 | 94 | "url": "https://github.com/poolifier/poolifier/issues" |
6dc67cda | 95 | }, |
6ccc1262 | 96 | "homepage": "https://github.com/poolifier/poolifier#readme", |
f6215a17 | 97 | "files": ["lib"], |
c6bcaac6 JB |
98 | "pnpm": { |
99 | "overrides": { | |
100 | "semver": "^7.5.3" | |
101 | } | |
102 | }, | |
973cde26 | 103 | "devDependencies": { |
b58abe92 | 104 | "@biomejs/biome": "^1.3.3", |
ead84d2a | 105 | "@commitlint/cli": "^18.2.0", |
29f706e4 | 106 | "@commitlint/config-conventional": "^18.1.0", |
7d1ac235 | 107 | "@release-it/bumper": "^5.1.0", |
b80e10df | 108 | "@release-it/keep-a-changelog": "^4.0.0", |
26bb464f JB |
109 | "@rollup/plugin-terser": "^0.4.4", |
110 | "@rollup/plugin-typescript": "^11.1.5", | |
b58abe92 | 111 | "@types/node": "^20.8.10", |
3bcfb8d8 JB |
112 | "@typescript-eslint/eslint-plugin": "^6.10.0", |
113 | "@typescript-eslint/parser": "^6.10.0", | |
f1c674cd | 114 | "benchmark": "^2.1.4", |
21554946 | 115 | "c8": "^8.0.1", |
1b035328 | 116 | "eslint": "^8.53.0", |
458509ad | 117 | "eslint-config-standard": "^17.1.0", |
870a814b | 118 | "eslint-config-standard-with-typescript": "^39.1.1", |
6c4fa3e1 | 119 | "eslint-define-config": "^1.24.1", |
6bd229c4 | 120 | "eslint-import-resolver-typescript": "^3.6.1", |
0e378d3c | 121 | "eslint-plugin-import": "^2.29.0", |
f97feb10 | 122 | "eslint-plugin-jsdoc": "^46.8.2", |
3bcfb8d8 | 123 | "eslint-plugin-n": "^16.3.0", |
2f8c5b5c | 124 | "eslint-plugin-promise": "^6.1.1", |
06f7a33b | 125 | "eslint-plugin-spellcheck": "^0.0.20", |
38e795c1 | 126 | "eslint-plugin-tsdoc": "^0.2.17", |
1c25f937 | 127 | "expect": "^29.7.0", |
a974afa6 | 128 | "husky": "^8.0.3", |
03e30357 | 129 | "lint-staged": "^15.0.2", |
7595e433 | 130 | "microtime": "^3.1.1", |
5d5a6f8f | 131 | "mocha": "^10.2.0", |
5080f39d | 132 | "mochawesome": "^7.1.3", |
550f94cd | 133 | "prettier": "^3.0.3", |
990fdec2 | 134 | "release-it": "^16.2.1", |
e259f763 | 135 | "rollup": "^4.3.0", |
f45e4999 | 136 | "rollup-plugin-analyzer": "^4.0.0", |
5ea22628 | 137 | "rollup-plugin-command": "^1.1.3", |
660940b0 | 138 | "rollup-plugin-delete": "^2.0.0", |
870a814b | 139 | "rollup-plugin-dts": "^6.1.0", |
b4d55613 | 140 | "sinon": "^17.0.1", |
c9102ab4 | 141 | "ts-standard": "^12.0.2", |
1b27b058 | 142 | "typedoc": "^0.25.3", |
1aacf52a | 143 | "typescript": "~5.2.2" |
777b7824 | 144 | } |
6dc67cda | 145 | } |