Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
003b3275 | 4 | "version": "3.0.0", |
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", | |
53a2a0ef | 22 | "benchmark": "pnpm build && node --max-old-space-size=4096 -r source-map-support/register benchmarks/internal/bench.mjs", |
53a2a0ef | 23 | "benchmark:prod": "pnpm build:prod && node --max-old-space-size=4096 benchmarks/internal/bench.mjs", |
387dac3b | 24 | "benchmark:debug": "pnpm build && node --max-old-space-size=4096 -r source-map-support/register --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": { |
f8417238 | 45 | "node": "20.8.0", |
743d8754 | 46 | "pnpm": "8.9.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": { |
f1c674cd | 104 | "@biomejs/biome": "^1.2.2", |
7aa4daba | 105 | "@commitlint/cli": "^17.7.2", |
214804c3 | 106 | "@commitlint/config-conventional": "^17.7.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", | |
1639315e | 111 | "@types/node": "^20.8.4", |
6c0599ac | 112 | "@typescript-eslint/eslint-plugin": "^6.7.5", |
77af8391 | 113 | "@typescript-eslint/parser": "^6.7.5", |
f1c674cd | 114 | "benchmark": "^2.1.4", |
21554946 | 115 | "c8": "^8.0.1", |
08d0d086 | 116 | "eslint": "^8.51.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", |
a6d60641 | 121 | "eslint-plugin-import": "^2.28.1", |
f97feb10 | 122 | "eslint-plugin-jsdoc": "^46.8.2", |
6a65db33 | 123 | "eslint-plugin-n": "^16.2.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", |
14dca8ad | 129 | "lint-staged": "^14.0.1", |
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", |
f1431ad8 | 135 | "rollup": "^4.0.2", |
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", |
26bb464f | 140 | "sinon": "^16.1.0", |
eae1fc25 | 141 | "source-map-support": "^0.5.21", |
c9102ab4 | 142 | "ts-standard": "^12.0.2", |
4bab9654 | 143 | "typedoc": "^0.25.2", |
1aacf52a | 144 | "typescript": "~5.2.2" |
777b7824 | 145 | } |
6dc67cda | 146 | } |