]> Piment Noir Git Repositories - poolifier.git/blob - package.json
038a1e46c0110ed81e9c0ae61957da70038a5454
[poolifier.git] / package.json
1 {
2 "$schema": "https://json.schemastore.org/package",
3 "name": "poolifier",
4 "version": "5.0.2",
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 "publishConfig": {
19 "directory": "package"
20 },
21 "scripts": {
22 "prepare": "node prepare.mjs",
23 "build": "rollup --config --environment BUILD:development",
24 "build:prod": "rollup --config",
25 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
26 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
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",
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'",
32 "coverage": "c8 report --reporter=lcov",
33 "coverage:html": "c8 report --reporter=html",
34 "format": "biome format . --write; eslint . --cache --fix",
35 "lint": "eslint . --cache",
36 "lint:fix": "eslint . --cache --fix",
37 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
38 "typedoc": "node typedoc.mjs",
39 "prepublishOnly": "pnpm build:prod && rm -rf ./package && clean-publish",
40 "postpublish": "rm -rf ./package"
41 },
42 "engines": {
43 "node": ">=20.11.0",
44 "pnpm": ">=9.0.0"
45 },
46 "volta": {
47 "node": "22.17.0",
48 "pnpm": "10.12.4"
49 },
50 "packageManager": "pnpm@10.12.4",
51 "repository": {
52 "type": "git",
53 "url": "https://github.com/poolifier/poolifier.git"
54 },
55 "keywords": [
56 "nodejs",
57 "worker pool",
58 "thread pool",
59 "worker_threads",
60 "cluster",
61 "concurrency",
62 "performance",
63 "cpu",
64 "computing",
65 "scheduling",
66 "parallelism",
67 "eventloop"
68 ],
69 "author": {
70 "name": "Alessandro Pio Ardizio",
71 "email": "alessandroardizio94@gmail.com",
72 "url": "https://github.com/pioardi"
73 },
74 "contributors": [
75 {
76 "name": "Christopher Quadflieg",
77 "email": "chrissi92@hotmail.de",
78 "url": "https://github.com/Shinigami92"
79 },
80 {
81 "name": "Jérôme Benoit",
82 "email": "jerome.benoit@piment-noir.org",
83 "url": "https://github.com/jerome-benoit"
84 }
85 ],
86 "funding": [
87 {
88 "type": "opencollective",
89 "url": "https://opencollective.com/poolifier"
90 },
91 {
92 "type": "github",
93 "url": "https://github.com/sponsors/poolifier"
94 }
95 ],
96 "bugs": {
97 "url": "https://github.com/poolifier/poolifier/issues"
98 },
99 "homepage": "https://github.com/poolifier/poolifier#readme",
100 "files": [
101 "lib"
102 ],
103 "pnpm": {
104 "overrides": {
105 "semver": "^7.5.3"
106 }
107 },
108 "devDependencies": {
109 "@biomejs/biome": "^2.0.6",
110 "@commitlint/cli": "^19.8.1",
111 "@commitlint/config-conventional": "^19.8.1",
112 "@cspell/eslint-plugin": "^9.1.2",
113 "@eslint/js": "^9.30.1",
114 "@rollup/plugin-terser": "^0.4.4",
115 "@rollup/plugin-typescript": "^12.1.4",
116 "@std/expect": "npm:@jsr/std__expect@^1.0.16",
117 "@types/node": "^24.0.10",
118 "c8": "^10.1.3",
119 "clean-publish": "^5.2.2",
120 "cross-env": "^7.0.3",
121 "eslint": "^9.30.1",
122 "eslint-plugin-jsdoc": "^51.3.3",
123 "eslint-plugin-perfectionist": "^4.15.0",
124 "globals": "^16.3.0",
125 "husky": "^9.1.7",
126 "lint-staged": "^16.1.2",
127 "mocha": "^11.7.1",
128 "mochawesome": "^7.1.3",
129 "neostandard": "^0.12.1",
130 "prettier": "^3.6.2",
131 "rollup": "^4.44.1",
132 "rollup-plugin-analyzer": "^4.0.0",
133 "rollup-plugin-command": "^1.1.3",
134 "rollup-plugin-delete": "^3.0.1",
135 "rollup-plugin-dts": "^6.2.1",
136 "sinon": "^21.0.0",
137 "tatami-ng": "^0.8.16",
138 "typedoc": "^0.28.7",
139 "typescript": "~5.8.3"
140 }
141 }