Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
a7358578 | 4 | "version": "3.1.19", |
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", | |
fc3eb720 | 9 | "module": "./lib/index.mjs", |
108782d6 | 10 | "types": "./lib/index.d.ts", |
fe18768d JB |
11 | "exports": { |
12 | ".": { | |
9606b474 | 13 | "types": "./lib/index.d.ts", |
d35e5717 | 14 | "require": "./lib/index.cjs", |
6abad580 | 15 | "import": "./lib/index.mjs" |
fe18768d JB |
16 | } |
17 | }, | |
6dc67cda | 18 | "scripts": { |
ebfea361 | 19 | "preinstall": "npx --yes only-allow pnpm", |
b1500787 | 20 | "prepare": "node prepare.mjs", |
f4162974 JB |
21 | "build": "rollup --config --environment BUILD:development", |
22 | "build:prod": "rollup --config", | |
387dac3b JB |
23 | "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", |
24 | "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", | |
00a2ffdb JB |
25 | "benchmark": "pnpm build && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs", |
26 | "benchmark:prod": "pnpm build:prod && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs", | |
27 | "benchmark:debug": "pnpm build && node --max-old-space-size=8192 --enable-source-maps --inspect benchmarks/internal/bench.mjs", | |
c329fd41 JB |
28 | "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'", |
29 | "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'", | |
0fd86768 JB |
30 | "coverage": "c8 report --reporter=lcov", |
31 | "coverage:html": "c8 report --reporter=html", | |
6e50abac | 32 | "format": "biome format . --write; eslint . --cache --fix", |
e99dbb69 JB |
33 | "lint": "eslint . --cache", |
34 | "lint:fix": "eslint . --cache --fix", | |
7d82d90e | 35 | "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", |
05a66b11 | 36 | "release": "release-it", |
2ab81545 | 37 | "typedoc": "node typedoc.mjs", |
bb8ed27c | 38 | "prepublishOnly": "pnpm build:prod" |
6dc67cda | 39 | }, |
78cea37e | 40 | "engines": { |
277c49bf | 41 | "node": ">=18.0.0", |
0fb30db7 | 42 | "pnpm": ">=8.6.0" |
78cea37e | 43 | }, |
bc3227d8 | 44 | "volta": { |
dafcfcc1 | 45 | "node": "20.11.0", |
dcf506bf | 46 | "pnpm": "8.15.1" |
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", |
1df5c5ee JB |
97 | "files": [ |
98 | "lib" | |
99 | ], | |
c6bcaac6 JB |
100 | "pnpm": { |
101 | "overrides": { | |
102 | "semver": "^7.5.3" | |
103 | } | |
104 | }, | |
973cde26 | 105 | "devDependencies": { |
3dadb9c5 | 106 | "@biomejs/biome": "^1.5.3", |
91d26ce3 JB |
107 | "@commitlint/cli": "^18.6.0", |
108 | "@commitlint/config-conventional": "^18.6.0", | |
9b0caac7 JB |
109 | "@release-it/bumper": "^6.0.1", |
110 | "@release-it/keep-a-changelog": "^5.0.0", | |
26bb464f | 111 | "@rollup/plugin-terser": "^0.4.4", |
6800818f | 112 | "@rollup/plugin-typescript": "^11.1.6", |
4604ac2b | 113 | "@types/node": "^20.11.17", |
346abcd7 JB |
114 | "@typescript-eslint/eslint-plugin": "^6.21.0", |
115 | "@typescript-eslint/parser": "^6.21.0", | |
f1c674cd | 116 | "benchmark": "^2.1.4", |
fd7f20bf | 117 | "c8": "^9.1.0", |
c329fd41 | 118 | "cross-env": "^7.0.3", |
b91134ce | 119 | "eslint": "^8.56.0", |
458509ad | 120 | "eslint-config-standard": "^17.1.0", |
213974b5 | 121 | "eslint-config-standard-with-typescript": "^43.0.1", |
09551c27 | 122 | "eslint-define-config": "^2.1.0", |
6bd229c4 | 123 | "eslint-import-resolver-typescript": "^3.6.1", |
44bd1107 | 124 | "eslint-plugin-import": "^2.29.1", |
b846e4b8 | 125 | "eslint-plugin-jsdoc": "^48.0.6", |
a7bbb790 | 126 | "eslint-plugin-n": "^16.6.2", |
2f8c5b5c | 127 | "eslint-plugin-promise": "^6.1.1", |
06f7a33b | 128 | "eslint-plugin-spellcheck": "^0.0.20", |
38e795c1 | 129 | "eslint-plugin-tsdoc": "^0.2.17", |
1c25f937 | 130 | "expect": "^29.7.0", |
606f3b26 | 131 | "husky": "^9.0.10", |
346abcd7 | 132 | "lint-staged": "^15.2.2", |
7595e433 | 133 | "microtime": "^3.1.1", |
c6aba242 | 134 | "mocha": "^10.3.0", |
5080f39d | 135 | "mochawesome": "^7.1.3", |
2fdbf3a9 | 136 | "prettier": "^3.2.5", |
edf8314a | 137 | "release-it": "^17.0.3", |
312eb4a0 | 138 | "rollup": "^4.10.0", |
f45e4999 | 139 | "rollup-plugin-analyzer": "^4.0.0", |
5ea22628 | 140 | "rollup-plugin-command": "^1.1.3", |
660940b0 | 141 | "rollup-plugin-delete": "^2.0.0", |
870a814b | 142 | "rollup-plugin-dts": "^6.1.0", |
b4d55613 | 143 | "sinon": "^17.0.1", |
312eb4a0 | 144 | "typedoc": "^0.25.8", |
9e84dd97 | 145 | "typescript": "~5.3.3" |
777b7824 | 146 | } |
6dc67cda | 147 | } |