Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
56412ef4 | 4 | "version": "3.1.14", |
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", | |
6e50abac | 30 | "format": "biome format . --write; eslint . --cache --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 | "engines": { |
277c49bf | 39 | "node": ">=18.0.0", |
0fb30db7 | 40 | "pnpm": ">=8.6.0" |
78cea37e | 41 | }, |
bc3227d8 | 42 | "volta": { |
11370d9f | 43 | "node": "20.10.0", |
09551c27 | 44 | "pnpm": "8.13.1" |
bc3227d8 | 45 | }, |
6dc67cda | 46 | "repository": { |
47 | "type": "git", | |
f6215a17 | 48 | "url": "https://github.com/poolifier/poolifier.git" |
6dc67cda | 49 | }, |
50 | "keywords": [ | |
66ce9e2d JB |
51 | "nodejs", |
52 | "worker pool", | |
53 | "thread pool", | |
2fbe1783 | 54 | "worker_threads", |
660940b0 | 55 | "cluster", |
31b90205 | 56 | "concurrency", |
6dc67cda | 57 | "performance", |
58 | "cpu", | |
973cde26 | 59 | "computing", |
66ce9e2d JB |
60 | "scheduling", |
61 | "parallelism", | |
62 | "eventloop" | |
6dc67cda | 63 | ], |
c613e813 JB |
64 | "author": { |
65 | "name": "Alessandro Pio Ardizio", | |
66 | "email": "alessandroardizio94@gmail.com", | |
67 | "url": "https://github.com/pioardi" | |
68 | }, | |
7e4f7b97 | 69 | "contributors": [ |
70 | { | |
71 | "name": "Christopher Quadflieg", | |
72 | "email": "chrissi92@hotmail.de", | |
73 | "url": "https://github.com/Shinigami92" | |
74 | }, | |
75 | { | |
818f2180 | 76 | "name": "Jérôme Benoit", |
7c638181 | 77 | "email": "jerome.benoit@piment-noir.org", |
7e4f7b97 | 78 | "url": "https://github.com/jerome-benoit" |
79 | } | |
80 | ], | |
479b44a7 JB |
81 | "funding": [ |
82 | { | |
83 | "type": "opencollective", | |
84 | "url": "https://opencollective.com/poolifier" | |
09bf56a0 JB |
85 | }, |
86 | { | |
87 | "type": "github", | |
88 | "url": "https://github.com/sponsors/poolifier" | |
479b44a7 JB |
89 | } |
90 | ], | |
6dc67cda | 91 | "bugs": { |
6ccc1262 | 92 | "url": "https://github.com/poolifier/poolifier/issues" |
6dc67cda | 93 | }, |
6ccc1262 | 94 | "homepage": "https://github.com/poolifier/poolifier#readme", |
1df5c5ee JB |
95 | "files": [ |
96 | "lib" | |
97 | ], | |
c6bcaac6 JB |
98 | "pnpm": { |
99 | "overrides": { | |
100 | "semver": "^7.5.3" | |
101 | } | |
102 | }, | |
973cde26 | 103 | "devDependencies": { |
1df5c5ee | 104 | "@biomejs/biome": "^1.4.1", |
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", | |
4f81f24d | 111 | "@types/node": "^20.10.6", |
05caa138 JB |
112 | "@typescript-eslint/eslint-plugin": "^6.17.0", |
113 | "@typescript-eslint/parser": "^6.17.0", | |
f1c674cd | 114 | "benchmark": "^2.1.4", |
21554946 | 115 | "c8": "^8.0.1", |
c329fd41 | 116 | "cross-env": "^7.0.3", |
b91134ce | 117 | "eslint": "^8.56.0", |
458509ad | 118 | "eslint-config-standard": "^17.1.0", |
b91134ce | 119 | "eslint-config-standard-with-typescript": "^43.0.0", |
09551c27 | 120 | "eslint-define-config": "^2.1.0", |
6bd229c4 | 121 | "eslint-import-resolver-typescript": "^3.6.1", |
44bd1107 | 122 | "eslint-plugin-import": "^2.29.1", |
7c3f5d08 | 123 | "eslint-plugin-jsdoc": "^47.0.2", |
67f3f2d6 | 124 | "eslint-plugin-n": "^16.6.0", |
2f8c5b5c | 125 | "eslint-plugin-promise": "^6.1.1", |
06f7a33b | 126 | "eslint-plugin-spellcheck": "^0.0.20", |
38e795c1 | 127 | "eslint-plugin-tsdoc": "^0.2.17", |
1c25f937 | 128 | "expect": "^29.7.0", |
a974afa6 | 129 | "husky": "^8.0.3", |
83a73943 | 130 | "lint-staged": "^15.2.0", |
7595e433 | 131 | "microtime": "^3.1.1", |
5d5a6f8f | 132 | "mocha": "^10.2.0", |
5080f39d | 133 | "mochawesome": "^7.1.3", |
d3155639 | 134 | "prettier": "^3.1.1", |
8428b256 | 135 | "release-it": "^17.0.1", |
4f81f24d | 136 | "rollup": "^4.9.2", |
f45e4999 | 137 | "rollup-plugin-analyzer": "^4.0.0", |
5ea22628 | 138 | "rollup-plugin-command": "^1.1.3", |
660940b0 | 139 | "rollup-plugin-delete": "^2.0.0", |
870a814b | 140 | "rollup-plugin-dts": "^6.1.0", |
b4d55613 | 141 | "sinon": "^17.0.1", |
05caa138 | 142 | "typedoc": "^0.25.6", |
9e84dd97 | 143 | "typescript": "~5.3.3" |
777b7824 | 144 | } |
6dc67cda | 145 | } |