Commit | Line | Data |
---|---|---|
6dc67cda | 1 | { |
4f19da60 | 2 | "$schema": "https://json.schemastore.org/package", |
5648b9ca | 3 | "name": "poolifier", |
e8701e36 | 4 | "version": "4.0.15", |
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", |
05a66b11 | 35 | "release": "release-it", |
2ab81545 | 36 | "typedoc": "node typedoc.mjs", |
bb8ed27c | 37 | "prepublishOnly": "pnpm build:prod" |
6dc67cda | 38 | }, |
78cea37e | 39 | "engines": { |
b9ded264 | 40 | "node": ">=18.0.0", |
3d5424d5 | 41 | "pnpm": ">=9.0.0" |
78cea37e | 42 | }, |
bc3227d8 | 43 | "volta": { |
364cc2e9 | 44 | "node": "22.3.0", |
c0352040 | 45 | "pnpm": "9.4.0" |
bc3227d8 | 46 | }, |
c0352040 | 47 | "packageManager": "pnpm@9.4.0", |
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", |
4669e767 | 97 | "files": ["lib"], |
c6bcaac6 JB |
98 | "pnpm": { |
99 | "overrides": { | |
100 | "semver": "^7.5.3" | |
101 | } | |
102 | }, | |
973cde26 | 103 | "devDependencies": { |
e06ce0ec | 104 | "@biomejs/biome": "^1.8.3", |
4f48f613 | 105 | "@commitlint/cli": "^19.3.0", |
53a0019f | 106 | "@commitlint/config-conventional": "^19.2.2", |
0b4d6a4b | 107 | "@cspell/eslint-plugin": "^8.9.1", |
0aa00166 | 108 | "@eslint/js": "^9.6.0", |
9b0caac7 JB |
109 | "@release-it/bumper": "^6.0.1", |
110 | "@release-it/keep-a-changelog": "^5.0.0", | |
26bb464f | 111 | "@rollup/plugin-terser": "^0.4.4", |
6800818f | 112 | "@rollup/plugin-typescript": "^11.1.6", |
3b594fe1 | 113 | "@types/node": "^20.14.9", |
02723e5f | 114 | "c8": "^10.1.2", |
c329fd41 | 115 | "cross-env": "^7.0.3", |
0aa00166 | 116 | "eslint": "^9.6.0", |
09551c27 | 117 | "eslint-define-config": "^2.1.0", |
3b594fe1 | 118 | "eslint-plugin-jsdoc": "^48.5.0", |
98ec2d70 | 119 | "eslint-plugin-simple-import-sort": "^12.1.0", |
1c25f937 | 120 | "expect": "^29.7.0", |
42ae5f0f | 121 | "globals": "^15.7.0", |
902f1af1 | 122 | "husky": "^9.0.11", |
4efef2aa | 123 | "lint-staged": "^15.2.7", |
a4d1195c | 124 | "mocha": "^10.5.2", |
5080f39d | 125 | "mochawesome": "^7.1.3", |
42ae5f0f | 126 | "neostandard": "^0.10.0", |
17dd7833 | 127 | "prettier": "^3.3.2", |
42ae5f0f | 128 | "release-it": "^17.4.1", |
5dbf93a6 | 129 | "rollup": "^4.18.0", |
f45e4999 | 130 | "rollup-plugin-analyzer": "^4.0.0", |
5ea22628 | 131 | "rollup-plugin-command": "^1.1.3", |
660940b0 | 132 | "rollup-plugin-delete": "^2.0.0", |
3c2426eb | 133 | "rollup-plugin-dts": "^6.1.1", |
eecb369e | 134 | "sinon": "^18.0.0", |
c0352040 | 135 | "tatami-ng": "^0.4.15", |
dea42379 | 136 | "typedoc": "^0.26.3", |
31a42de7 | 137 | "typescript": "~5.5.2" |
777b7824 | 138 | } |
6dc67cda | 139 | } |