Merge pull request #2423 from poolifier/combined-prs-branch
[poolifier.git] / package.json
1 {
2 "$schema": "https://json.schemastore.org/package",
3 "name": "poolifier",
4 "version": "4.0.15",
5 "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool",
6 "license": "MIT",
7 "type": "module",
8 "main": "./lib/index.cjs",
9 "module": "./lib/index.mjs",
10 "types": "./lib/index.d.ts",
11 "exports": {
12 ".": {
13 "types": "./lib/index.d.ts",
14 "require": "./lib/index.cjs",
15 "import": "./lib/index.mjs"
16 }
17 },
18 "scripts": {
19 "prepare": "node prepare.mjs",
20 "build": "rollup --config --environment BUILD:development",
21 "build:prod": "rollup --config",
22 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
23 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
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",
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'",
29 "coverage": "c8 report --reporter=lcov",
30 "coverage:html": "c8 report --reporter=html",
31 "format": "biome format . --write; eslint . --cache --fix",
32 "lint": "eslint . --cache",
33 "lint:fix": "eslint . --cache --fix",
34 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
35 "typedoc": "node typedoc.mjs",
36 "prepublishOnly": "pnpm build:prod"
37 },
38 "engines": {
39 "node": ">=18.0.0",
40 "pnpm": ">=9.0.0"
41 },
42 "volta": {
43 "node": "22.4.0",
44 "pnpm": "9.4.0"
45 },
46 "packageManager": "pnpm@9.4.0",
47 "repository": {
48 "type": "git",
49 "url": "https://github.com/poolifier/poolifier.git"
50 },
51 "keywords": [
52 "nodejs",
53 "worker pool",
54 "thread pool",
55 "worker_threads",
56 "cluster",
57 "concurrency",
58 "performance",
59 "cpu",
60 "computing",
61 "scheduling",
62 "parallelism",
63 "eventloop"
64 ],
65 "author": {
66 "name": "Alessandro Pio Ardizio",
67 "email": "alessandroardizio94@gmail.com",
68 "url": "https://github.com/pioardi"
69 },
70 "contributors": [
71 {
72 "name": "Christopher Quadflieg",
73 "email": "chrissi92@hotmail.de",
74 "url": "https://github.com/Shinigami92"
75 },
76 {
77 "name": "Jérôme Benoit",
78 "email": "jerome.benoit@piment-noir.org",
79 "url": "https://github.com/jerome-benoit"
80 }
81 ],
82 "funding": [
83 {
84 "type": "opencollective",
85 "url": "https://opencollective.com/poolifier"
86 },
87 {
88 "type": "github",
89 "url": "https://github.com/sponsors/poolifier"
90 }
91 ],
92 "bugs": {
93 "url": "https://github.com/poolifier/poolifier/issues"
94 },
95 "homepage": "https://github.com/poolifier/poolifier#readme",
96 "files": ["lib"],
97 "pnpm": {
98 "overrides": {
99 "semver": "^7.5.3"
100 }
101 },
102 "devDependencies": {
103 "@biomejs/biome": "^1.8.3",
104 "@commitlint/cli": "^19.3.0",
105 "@commitlint/config-conventional": "^19.2.2",
106 "@cspell/eslint-plugin": "^8.10.0",
107 "@eslint/js": "^9.6.0",
108 "@rollup/plugin-terser": "^0.4.4",
109 "@rollup/plugin-typescript": "^11.1.6",
110 "@types/node": "^20.14.9",
111 "c8": "^10.1.2",
112 "cross-env": "^7.0.3",
113 "eslint": "^9.6.0",
114 "eslint-define-config": "^2.1.0",
115 "eslint-plugin-jsdoc": "^48.5.0",
116 "eslint-plugin-simple-import-sort": "^12.1.1",
117 "expect": "^29.7.0",
118 "globals": "^15.8.0",
119 "husky": "^9.0.11",
120 "lint-staged": "^15.2.7",
121 "mocha": "^10.6.0",
122 "mochawesome": "^7.1.3",
123 "neostandard": "^0.11.0",
124 "prettier": "^3.3.2",
125 "rollup": "^4.18.0",
126 "rollup-plugin-analyzer": "^4.0.0",
127 "rollup-plugin-command": "^1.1.3",
128 "rollup-plugin-delete": "^2.0.0",
129 "rollup-plugin-dts": "^6.1.1",
130 "sinon": "^18.0.0",
131 "tatami-ng": "^0.4.15",
132 "typedoc": "^0.26.3",
133 "typescript": "~5.5.3"
134 }
135 }