test: switch to ESM
[poolifier.git] / package.json
CommitLineData
6dc67cda 1{
4f19da60 2 "$schema": "https://json.schemastore.org/package",
5648b9ca 3 "name": "poolifier",
3466e757 4 "version": "2.7.4",
3eed0bf4 5 "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool",
479b44a7 6 "license": "MIT",
6abad580 7 "main": "./lib/index.js",
fe18768d
JB
8 "exports": {
9 ".": {
9606b474 10 "types": "./lib/index.d.ts",
6abad580
JB
11 "require": "./lib/index.js",
12 "import": "./lib/index.mjs"
fe18768d
JB
13 }
14 },
6dc67cda 15 "scripts": {
ebfea361 16 "preinstall": "npx --yes only-allow pnpm",
86092b19 17 "prepare": "node prepare.js",
f4162974 18 "build": "rollup --config --environment BUILD:development",
9dc351aa
JB
19 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
20 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
f4162974 21 "build:prod": "rollup --config",
8a970421
JB
22 "benchmark": "pnpm build && node -r source-map-support/register benchmarks/internal/bench.mjs",
23 "benchmark:debug": "pnpm build && node -r source-map-support/register --inspect benchmarks/internal/bench.mjs",
a31ef7da 24 "benchmark:prod": "pnpm build:prod && node benchmarks/internal/bench.mjs",
a074ffee
JB
25 "test": "pnpm build --environment SOURCEMAP:false && c8 mocha 'tests/**/*.test.mjs'",
26 "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.mjs'",
0fd86768
JB
27 "coverage": "c8 report --reporter=lcov",
28 "coverage:html": "c8 report --reporter=html",
facb41d7 29 "format": "biome format . --write; ts-standard . --fix",
e99dbb69
JB
30 "lint": "eslint . --cache",
31 "lint:fix": "eslint . --cache --fix",
7d82d90e 32 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
05a66b11 33 "release": "release-it",
2ab81545 34 "typedoc": "node typedoc.mjs",
bb8ed27c 35 "prepublishOnly": "pnpm build:prod"
6dc67cda 36 },
78cea37e 37 "ts-standard": {
f6215a17 38 "globals": ["describe", "it", "before", "after", "beforeEach", "afterEach"]
78cea37e
JB
39 },
40 "engines": {
9e45c2c4 41 "node": ">=16.14.0",
0fb30db7 42 "pnpm": ">=8.6.0"
78cea37e 43 },
bc3227d8 44 "volta": {
f8417238 45 "node": "20.8.0",
a9e41bb1 46 "pnpm": "8.8.0"
bc3227d8 47 },
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",
f6215a17 97 "files": ["lib"],
c6bcaac6
JB
98 "pnpm": {
99 "overrides": {
100 "semver": "^7.5.3"
101 }
102 },
973cde26 103 "devDependencies": {
f1c674cd 104 "@biomejs/biome": "^1.2.2",
7aa4daba 105 "@commitlint/cli": "^17.7.2",
214804c3 106 "@commitlint/config-conventional": "^17.7.0",
7d1ac235 107 "@release-it/bumper": "^5.1.0",
b80e10df 108 "@release-it/keep-a-changelog": "^4.0.0",
4745ba4a 109 "@rollup/plugin-terser": "^0.4.3",
e45f9404 110 "@rollup/plugin-typescript": "^11.1.4",
7c9016e3 111 "@types/node": "^20.7.1",
53e36561 112 "@typescript-eslint/eslint-plugin": "^6.7.3",
cee25e0e 113 "@typescript-eslint/parser": "^6.7.3",
f1c674cd 114 "benchmark": "^2.1.4",
21554946 115 "c8": "^8.0.1",
6bd229c4 116 "eslint": "^8.50.0",
458509ad 117 "eslint-config-standard": "^17.1.0",
5aac5e87 118 "eslint-config-standard-with-typescript": "^39.1.0",
0223b392 119 "eslint-define-config": "^1.23.0",
6bd229c4 120 "eslint-import-resolver-typescript": "^3.6.1",
a6d60641 121 "eslint-plugin-import": "^2.28.1",
f97feb10 122 "eslint-plugin-jsdoc": "^46.8.2",
767fa28f 123 "eslint-plugin-n": "^16.1.0",
2f8c5b5c 124 "eslint-plugin-promise": "^6.1.1",
06f7a33b 125 "eslint-plugin-spellcheck": "^0.0.20",
38e795c1 126 "eslint-plugin-tsdoc": "^0.2.17",
1c25f937 127 "expect": "^29.7.0",
a974afa6 128 "husky": "^8.0.3",
14dca8ad 129 "lint-staged": "^14.0.1",
7595e433 130 "microtime": "^3.1.1",
5d5a6f8f 131 "mocha": "^10.2.0",
5080f39d 132 "mochawesome": "^7.1.3",
550f94cd 133 "prettier": "^3.0.3",
990fdec2 134 "release-it": "^16.2.1",
7aa4daba 135 "rollup": "^3.29.4",
f45e4999 136 "rollup-plugin-analyzer": "^4.0.0",
5ea22628 137 "rollup-plugin-command": "^1.1.3",
660940b0 138 "rollup-plugin-delete": "^2.0.0",
767fa28f 139 "rollup-plugin-dts": "^6.0.2",
eae5038a 140 "sinon": "^16.0.0",
eae1fc25 141 "source-map-support": "^0.5.21",
c9102ab4 142 "ts-standard": "^12.0.2",
c8284c4c 143 "typedoc": "^0.25.1",
1aacf52a 144 "typescript": "~5.2.2"
777b7824 145 }
6dc67cda 146}