Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
029726d0 | 4 | "version": "4.2.11", |
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": { |
b1500787 | 19 | "prepare": "node prepare.mjs", |
f4162974 JB |
20 | "build": "rollup --config --environment BUILD:development", |
21 | "build:prod": "rollup --config", | |
387dac3b JB |
22 | "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", |
23 | "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", | |
98f60ddd JB |
24 | "benchmark:tatami-ng": "pnpm build && node --enable-source-maps benchmarks/internal/bench.mjs -t tatami-ng", |
25 | "benchmark:tatami-ng:prod": "pnpm build:prod && node --enable-source-maps benchmarks/internal/bench.mjs -t tatami-ng", | |
26 | "benchmark:tatami-ng:debug": "pnpm build && node --enable-source-maps --inspect benchmarks/internal/bench.mjs -t tatami-ng", | |
c329fd41 JB |
27 | "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'", |
28 | "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'", | |
0fd86768 JB |
29 | "coverage": "c8 report --reporter=lcov", |
30 | "coverage:html": "c8 report --reporter=html", | |
6e50abac | 31 | "format": "biome format . --write; eslint . --cache --fix", |
e99dbb69 JB |
32 | "lint": "eslint . --cache", |
33 | "lint:fix": "eslint . --cache --fix", | |
7d82d90e | 34 | "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", |
2ab81545 | 35 | "typedoc": "node typedoc.mjs", |
bb8ed27c | 36 | "prepublishOnly": "pnpm build:prod" |
6dc67cda | 37 | }, |
78cea37e | 38 | "engines": { |
b9ded264 | 39 | "node": ">=18.0.0", |
3d5424d5 | 40 | "pnpm": ">=9.0.0" |
78cea37e | 41 | }, |
bc3227d8 | 42 | "volta": { |
4f69c55b | 43 | "node": "22.9.0", |
47d6c78a | 44 | "pnpm": "9.12.0" |
bc3227d8 | 45 | }, |
47d6c78a | 46 | "packageManager": "pnpm@9.12.0", |
6dc67cda | 47 | "repository": { |
48 | "type": "git", | |
f6215a17 | 49 | "url": "https://github.com/poolifier/poolifier.git" |
6dc67cda | 50 | }, |
51 | "keywords": [ | |
66ce9e2d JB |
52 | "nodejs", |
53 | "worker pool", | |
54 | "thread pool", | |
2fbe1783 | 55 | "worker_threads", |
660940b0 | 56 | "cluster", |
31b90205 | 57 | "concurrency", |
6dc67cda | 58 | "performance", |
59 | "cpu", | |
973cde26 | 60 | "computing", |
66ce9e2d JB |
61 | "scheduling", |
62 | "parallelism", | |
63 | "eventloop" | |
6dc67cda | 64 | ], |
c613e813 JB |
65 | "author": { |
66 | "name": "Alessandro Pio Ardizio", | |
67 | "email": "alessandroardizio94@gmail.com", | |
68 | "url": "https://github.com/pioardi" | |
69 | }, | |
7e4f7b97 | 70 | "contributors": [ |
71 | { | |
72 | "name": "Christopher Quadflieg", | |
73 | "email": "chrissi92@hotmail.de", | |
74 | "url": "https://github.com/Shinigami92" | |
75 | }, | |
76 | { | |
818f2180 | 77 | "name": "Jérôme Benoit", |
7c638181 | 78 | "email": "jerome.benoit@piment-noir.org", |
7e4f7b97 | 79 | "url": "https://github.com/jerome-benoit" |
80 | } | |
81 | ], | |
479b44a7 JB |
82 | "funding": [ |
83 | { | |
84 | "type": "opencollective", | |
85 | "url": "https://opencollective.com/poolifier" | |
09bf56a0 JB |
86 | }, |
87 | { | |
88 | "type": "github", | |
89 | "url": "https://github.com/sponsors/poolifier" | |
479b44a7 JB |
90 | } |
91 | ], | |
6dc67cda | 92 | "bugs": { |
6ccc1262 | 93 | "url": "https://github.com/poolifier/poolifier/issues" |
6dc67cda | 94 | }, |
6ccc1262 | 95 | "homepage": "https://github.com/poolifier/poolifier#readme", |
6792857a | 96 | "files": ["lib"], |
c6bcaac6 JB |
97 | "pnpm": { |
98 | "overrides": { | |
99 | "semver": "^7.5.3" | |
100 | } | |
101 | }, | |
973cde26 | 102 | "devDependencies": { |
8ac86936 | 103 | "@biomejs/biome": "^1.9.3", |
efd5d498 | 104 | "@commitlint/cli": "^19.5.0", |
105 | "@commitlint/config-conventional": "^19.5.0", | |
4f69c55b | 106 | "@cspell/eslint-plugin": "^8.14.4", |
f4879729 | 107 | "@eslint/js": "^9.12.0", |
26bb464f | 108 | "@rollup/plugin-terser": "^0.4.4", |
a3be89cc | 109 | "@rollup/plugin-typescript": "^12.1.0", |
4fbd3883 | 110 | "@types/node": "^22.7.4", |
02723e5f | 111 | "c8": "^10.1.2", |
c329fd41 | 112 | "cross-env": "^7.0.3", |
75b00ba4 | 113 | "eslint": "^9.12.0", |
09551c27 | 114 | "eslint-define-config": "^2.1.0", |
8ac86936 JB |
115 | "eslint-plugin-jsdoc": "^50.3.1", |
116 | "eslint-plugin-perfectionist": "^3.8.0", | |
1c25f937 | 117 | "expect": "^29.7.0", |
8ac86936 | 118 | "globals": "^15.10.0", |
0a347211 | 119 | "husky": "^9.1.6", |
b1b652f5 | 120 | "lint-staged": "^15.2.10", |
bd690327 | 121 | "mocha": "^10.7.3", |
5080f39d | 122 | "mochawesome": "^7.1.3", |
4eb12ee5 | 123 | "neostandard": "^0.11.6", |
ed09ef1d | 124 | "prettier": "^3.3.3", |
47d6c78a | 125 | "rollup": "^4.24.0", |
f45e4999 | 126 | "rollup-plugin-analyzer": "^4.0.0", |
5ea22628 | 127 | "rollup-plugin-command": "^1.1.3", |
61bdb2cc | 128 | "rollup-plugin-delete": "^2.1.0", |
3c2426eb | 129 | "rollup-plugin-dts": "^6.1.1", |
e62369f6 | 130 | "sinon": "^19.0.2", |
4ef4985d | 131 | "tatami-ng": "^0.8.2", |
2a0e22fc | 132 | "typedoc": "^0.26.8", |
61bdb2cc | 133 | "typescript": "~5.6.2" |
777b7824 | 134 | } |
6dc67cda | 135 | } |