fix: add types fileds to package.json exports
[poolifier.git] / package.json
CommitLineData
6dc67cda 1{
5648b9ca 2 "name": "poolifier",
d9647bdd 3 "version": "2.6.21",
3eed0bf4 4 "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool",
479b44a7 5 "license": "MIT",
6abad580 6 "main": "./lib/index.js",
fe18768d
JB
7 "exports": {
8 ".": {
9606b474 9 "types": "./lib/index.d.ts",
6abad580
JB
10 "require": "./lib/index.js",
11 "import": "./lib/index.mjs"
fe18768d
JB
12 }
13 },
6dc67cda 14 "scripts": {
ebfea361 15 "preinstall": "npx --yes only-allow pnpm",
86092b19 16 "prepare": "node prepare.js",
f4162974 17 "build": "rollup --config --environment BUILD:development",
9dc351aa
JB
18 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
19 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
f4162974 20 "build:prod": "rollup --config",
8a970421
JB
21 "benchmark": "pnpm build && node -r source-map-support/register benchmarks/internal/bench.mjs",
22 "benchmark:debug": "pnpm build && node -r source-map-support/register --inspect benchmarks/internal/bench.mjs",
93dd056a 23 "benchmark:prod": "pnpm build:prod && benchmarks/internal/bench.mjs",
bb8ed27c
JB
24 "test": "pnpm build && c8 mocha 'tests/**/*.test.js'",
25 "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
0fd86768
JB
26 "coverage": "c8 report --reporter=lcov",
27 "coverage:html": "c8 report --reporter=html",
e47bed93 28 "format": "prettier . --cache --write; ts-standard . --fix",
e99dbb69
JB
29 "lint": "eslint . --cache",
30 "lint:fix": "eslint . --cache --fix",
7d82d90e 31 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
05a66b11 32 "release": "release-it",
5ea22628 33 "typedoc": "typedoc",
bb8ed27c 34 "prepublishOnly": "pnpm build:prod"
6dc67cda 35 },
78cea37e 36 "ts-standard": {
af5204ed
JB
37 "globals": [
38 "describe",
39 "it",
40 "before",
41 "after",
42 "beforeEach",
43 "afterEach"
78cea37e
JB
44 ]
45 },
46 "engines": {
9e45c2c4 47 "node": ">=16.14.0",
0fb30db7 48 "pnpm": ">=8.6.0"
78cea37e 49 },
bc3227d8 50 "volta": {
21416e6e 51 "node": "20.5.0",
2f034ea6 52 "pnpm": "8.6.12"
bc3227d8 53 },
6dc67cda 54 "repository": {
55 "type": "git",
6ccc1262 56 "url": "git+https://github.com/poolifier/poolifier.git"
6dc67cda 57 },
58 "keywords": [
66ce9e2d
JB
59 "nodejs",
60 "worker pool",
61 "thread pool",
2fbe1783 62 "worker_threads",
660940b0 63 "cluster",
31b90205 64 "concurrency",
6dc67cda 65 "performance",
66 "cpu",
973cde26 67 "computing",
66ce9e2d
JB
68 "scheduling",
69 "parallelism",
70 "eventloop"
6dc67cda 71 ],
6dc67cda 72 "author": "pioardi",
7e4f7b97 73 "contributors": [
74 {
75 "name": "Christopher Quadflieg",
76 "email": "chrissi92@hotmail.de",
77 "url": "https://github.com/Shinigami92"
78 },
79 {
818f2180 80 "name": "Jérôme Benoit",
7c638181 81 "email": "jerome.benoit@piment-noir.org",
7e4f7b97 82 "url": "https://github.com/jerome-benoit"
83 }
84 ],
479b44a7
JB
85 "funding": [
86 {
87 "type": "opencollective",
88 "url": "https://opencollective.com/poolifier"
09bf56a0
JB
89 },
90 {
91 "type": "github",
92 "url": "https://github.com/sponsors/poolifier"
479b44a7
JB
93 }
94 ],
6dc67cda 95 "bugs": {
6ccc1262 96 "url": "https://github.com/poolifier/poolifier/issues"
6dc67cda 97 },
6ccc1262 98 "homepage": "https://github.com/poolifier/poolifier#readme",
c2a9d1e6
S
99 "files": [
100 "lib"
101 ],
c6bcaac6
JB
102 "pnpm": {
103 "overrides": {
104 "semver": "^7.5.3"
105 }
106 },
973cde26 107 "devDependencies": {
214804c3
JB
108 "@commitlint/cli": "^17.7.0",
109 "@commitlint/config-conventional": "^17.7.0",
7d1ac235 110 "@release-it/bumper": "^5.1.0",
b80e10df 111 "@release-it/keep-a-changelog": "^4.0.0",
4745ba4a 112 "@rollup/plugin-terser": "^0.4.3",
af64732b 113 "@rollup/plugin-typescript": "^11.1.2",
214804c3 114 "@types/node": "^20.4.9",
b80e10df
JB
115 "@typescript-eslint/eslint-plugin": "^5.62.0",
116 "@typescript-eslint/parser": "^5.62.0",
ca6c7d70 117 "benny": "^3.7.1",
21554946 118 "c8": "^8.0.1",
7b451fe3 119 "eslint": "^8.46.0",
458509ad 120 "eslint-config-standard": "^17.1.0",
987aab32 121 "eslint-config-standard-with-typescript": "^37.0.0",
0223b392 122 "eslint-define-config": "^1.23.0",
214804c3 123 "eslint-import-resolver-typescript": "^3.6.0",
4e149a78 124 "eslint-plugin-import": "^2.28.0",
0f2c9e06 125 "eslint-plugin-jsdoc": "^46.4.6",
01d400ef 126 "eslint-plugin-n": "^16.0.1",
2f8c5b5c 127 "eslint-plugin-promise": "^6.1.1",
06f7a33b 128 "eslint-plugin-spellcheck": "^0.0.20",
38e795c1 129 "eslint-plugin-tsdoc": "^0.2.17",
d66d8d9d 130 "expect": "^29.6.2",
a974afa6 131 "husky": "^8.0.3",
af64732b 132 "lint-staged": "^13.2.3",
7595e433 133 "microtime": "^3.1.1",
5d5a6f8f 134 "mocha": "^10.2.0",
5080f39d 135 "mochawesome": "^7.1.3",
0c1f3187 136 "prettier": "^3.0.1",
214804c3
JB
137 "release-it": "^16.1.4",
138 "rollup": "^3.28.0",
f45e4999 139 "rollup-plugin-analyzer": "^4.0.0",
5ea22628 140 "rollup-plugin-command": "^1.1.3",
660940b0 141 "rollup-plugin-delete": "^2.0.0",
501f774f 142 "sinon": "^15.2.0",
eae1fc25 143 "source-map-support": "^0.5.21",
c9102ab4 144 "ts-standard": "^12.0.2",
25038f6a 145 "typedoc": "^0.24.8",
4b00bdc1 146 "typescript": "^5.1.6"
777b7824 147 }
6dc67cda 148}