Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
d7164344 | 4 | "version": "3.0.9", |
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", | |
d8067870 | 25 | "test": "pnpm build --environment SOURCEMAP:false && c8 mocha 'tests/**/*.test.mjs'", |
a074ffee | 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": { |
11370d9f | 45 | "node": "20.10.0", |
299b3d1f | 46 | "pnpm": "8.11.0" |
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": { |
adccd57c | 104 | "@biomejs/biome": "^1.4.0", |
ec88da80 JB |
105 | "@commitlint/cli": "^18.4.3", |
106 | "@commitlint/config-conventional": "^18.4.3", | |
9b0caac7 JB |
107 | "@release-it/bumper": "^6.0.1", |
108 | "@release-it/keep-a-changelog": "^5.0.0", | |
26bb464f JB |
109 | "@rollup/plugin-terser": "^0.4.4", |
110 | "@rollup/plugin-typescript": "^11.1.5", | |
01c9296d | 111 | "@types/node": "^20.10.1", |
70c9db8c JB |
112 | "@typescript-eslint/eslint-plugin": "^6.13.1", |
113 | "@typescript-eslint/parser": "^6.13.1", | |
f1c674cd | 114 | "benchmark": "^2.1.4", |
21554946 | 115 | "c8": "^8.0.1", |
26ef30c3 | 116 | "eslint": "^8.54.0", |
458509ad | 117 | "eslint-config-standard": "^17.1.0", |
26ef30c3 | 118 | "eslint-config-standard-with-typescript": "^40.0.0", |
c2ec8943 | 119 | "eslint-define-config": "^2.0.0", |
6bd229c4 | 120 | "eslint-import-resolver-typescript": "^3.6.1", |
0e378d3c | 121 | "eslint-plugin-import": "^2.29.0", |
d6da89ca JB |
122 | "eslint-plugin-jsdoc": "^46.9.0", |
123 | "eslint-plugin-n": "^16.3.1", | |
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", |
9b0caac7 | 129 | "lint-staged": "^15.1.0", |
7595e433 | 130 | "microtime": "^3.1.1", |
5d5a6f8f | 131 | "mocha": "^10.2.0", |
5080f39d | 132 | "mochawesome": "^7.1.3", |
7bf8dd7b | 133 | "prettier": "^3.1.0", |
9b0caac7 | 134 | "release-it": "^17.0.0", |
adccd57c | 135 | "rollup": "^4.6.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", |
adccd57c | 142 | "typedoc": "^0.25.4", |
ec88da80 | 143 | "typescript": "~5.3.2" |
777b7824 | 144 | } |
6dc67cda | 145 | } |