]>
Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
b8569eef | 4 | "version": "5.0.2", |
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 | }, | |
4f7ba013 JB |
18 | "publishConfig": { |
19 | "directory": "package" | |
20 | }, | |
6dc67cda | 21 | "scripts": { |
b1500787 | 22 | "prepare": "node prepare.mjs", |
f4162974 JB |
23 | "build": "rollup --config --environment BUILD:development", |
24 | "build:prod": "rollup --config", | |
387dac3b JB |
25 | "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", |
26 | "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", | |
96e15f3d JB |
27 | "benchmark:tatami-ng": "pnpm build && node --enable-source-maps benchmarks/internal/bench.mjs -t tatami-ng", |
28 | "benchmark:tatami-ng:prod": "pnpm build:prod && node --enable-source-maps benchmarks/internal/bench.mjs -t tatami-ng", | |
29 | "benchmark:tatami-ng:debug": "pnpm build && node --enable-source-maps --inspect benchmarks/internal/bench.mjs -t tatami-ng", | |
c329fd41 JB |
30 | "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'", |
31 | "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'", | |
0fd86768 JB |
32 | "coverage": "c8 report --reporter=lcov", |
33 | "coverage:html": "c8 report --reporter=html", | |
6e50abac | 34 | "format": "biome format . --write; eslint . --cache --fix", |
e99dbb69 JB |
35 | "lint": "eslint . --cache", |
36 | "lint:fix": "eslint . --cache --fix", | |
7d82d90e | 37 | "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", |
2ab81545 | 38 | "typedoc": "node typedoc.mjs", |
4f7ba013 JB |
39 | "prepublishOnly": "pnpm build:prod && rm -rf ./package && clean-publish", |
40 | "postpublish": "rm -rf ./package" | |
6dc67cda | 41 | }, |
78cea37e | 42 | "engines": { |
b5a9d39f | 43 | "node": ">=20.11.0", |
3d5424d5 | 44 | "pnpm": ">=9.0.0" |
78cea37e | 45 | }, |
bc3227d8 | 46 | "volta": { |
4c72df5d JB |
47 | "node": "22.17.0", |
48 | "pnpm": "10.12.4" | |
bc3227d8 | 49 | }, |
4c72df5d | 50 | "packageManager": "pnpm@10.12.4", |
6dc67cda | 51 | "repository": { |
52 | "type": "git", | |
f6215a17 | 53 | "url": "https://github.com/poolifier/poolifier.git" |
6dc67cda | 54 | }, |
55 | "keywords": [ | |
66ce9e2d JB |
56 | "nodejs", |
57 | "worker pool", | |
58 | "thread pool", | |
2fbe1783 | 59 | "worker_threads", |
660940b0 | 60 | "cluster", |
31b90205 | 61 | "concurrency", |
6dc67cda | 62 | "performance", |
63 | "cpu", | |
973cde26 | 64 | "computing", |
66ce9e2d JB |
65 | "scheduling", |
66 | "parallelism", | |
67 | "eventloop" | |
6dc67cda | 68 | ], |
c613e813 JB |
69 | "author": { |
70 | "name": "Alessandro Pio Ardizio", | |
71 | "email": "alessandroardizio94@gmail.com", | |
72 | "url": "https://github.com/pioardi" | |
73 | }, | |
7e4f7b97 | 74 | "contributors": [ |
75 | { | |
76 | "name": "Christopher Quadflieg", | |
77 | "email": "chrissi92@hotmail.de", | |
78 | "url": "https://github.com/Shinigami92" | |
79 | }, | |
80 | { | |
818f2180 | 81 | "name": "Jérôme Benoit", |
7c638181 | 82 | "email": "jerome.benoit@piment-noir.org", |
7e4f7b97 | 83 | "url": "https://github.com/jerome-benoit" |
84 | } | |
85 | ], | |
479b44a7 JB |
86 | "funding": [ |
87 | { | |
88 | "type": "opencollective", | |
89 | "url": "https://opencollective.com/poolifier" | |
09bf56a0 JB |
90 | }, |
91 | { | |
92 | "type": "github", | |
93 | "url": "https://github.com/sponsors/poolifier" | |
479b44a7 JB |
94 | } |
95 | ], | |
6dc67cda | 96 | "bugs": { |
6ccc1262 | 97 | "url": "https://github.com/poolifier/poolifier/issues" |
6dc67cda | 98 | }, |
6ccc1262 | 99 | "homepage": "https://github.com/poolifier/poolifier#readme", |
4bb46963 JB |
100 | "files": [ |
101 | "lib" | |
102 | ], | |
c6bcaac6 JB |
103 | "pnpm": { |
104 | "overrides": { | |
105 | "semver": "^7.5.3" | |
106 | } | |
107 | }, | |
973cde26 | 108 | "devDependencies": { |
d6d994ed | 109 | "@biomejs/biome": "^2.0.6", |
db27204f | 110 | "@commitlint/cli": "^19.8.1", |
98a9175e | 111 | "@commitlint/config-conventional": "^19.8.1", |
2b3e1461 | 112 | "@cspell/eslint-plugin": "^9.1.2", |
fb89f996 | 113 | "@eslint/js": "^9.30.1", |
26bb464f | 114 | "@rollup/plugin-terser": "^0.4.4", |
27b8ce75 | 115 | "@rollup/plugin-typescript": "^12.1.4", |
d6ba8998 | 116 | "@std/expect": "npm:@jsr/std__expect@^1.0.16", |
fb89f996 | 117 | "@types/node": "^24.0.10", |
5e73f655 | 118 | "c8": "^10.1.3", |
0395ecc8 | 119 | "clean-publish": "^5.2.2", |
c329fd41 | 120 | "cross-env": "^7.0.3", |
fb89f996 | 121 | "eslint": "^9.30.1", |
b3771358 | 122 | "eslint-plugin-jsdoc": "^51.3.3", |
0395ecc8 | 123 | "eslint-plugin-perfectionist": "^4.15.0", |
7e15dc8f | 124 | "globals": "^16.3.0", |
09314d1c | 125 | "husky": "^9.1.7", |
0395ecc8 | 126 | "lint-staged": "^16.1.2", |
2b3e1461 | 127 | "mocha": "^11.7.1", |
5080f39d | 128 | "mochawesome": "^7.1.3", |
b5bff12f | 129 | "neostandard": "^0.12.2", |
d6d994ed | 130 | "prettier": "^3.6.2", |
6f8b8be7 | 131 | "rollup": "^4.44.2", |
f45e4999 | 132 | "rollup-plugin-analyzer": "^4.0.0", |
5ea22628 | 133 | "rollup-plugin-command": "^1.1.3", |
7e0174ec | 134 | "rollup-plugin-delete": "^3.0.1", |
262f0bd9 | 135 | "rollup-plugin-dts": "^6.2.1", |
4bb46963 | 136 | "sinon": "^21.0.0", |
c3719f00 | 137 | "tatami-ng": "^0.8.16", |
27b8ce75 | 138 | "typedoc": "^0.28.7", |
d095c00b | 139 | "typescript": "~5.8.3" |
777b7824 | 140 | } |
6dc67cda | 141 | } |