fix: add types fileds to package.json exports
[poolifier.git] / package.json
1 {
2 "name": "poolifier",
3 "version": "2.6.21",
4 "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool",
5 "license": "MIT",
6 "main": "./lib/index.js",
7 "exports": {
8 ".": {
9 "types": "./lib/index.d.ts",
10 "require": "./lib/index.js",
11 "import": "./lib/index.mjs"
12 }
13 },
14 "scripts": {
15 "preinstall": "npx --yes only-allow pnpm",
16 "prepare": "node prepare.js",
17 "build": "rollup --config --environment BUILD:development",
18 "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
19 "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
20 "build:prod": "rollup --config",
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",
23 "benchmark:prod": "pnpm build:prod && benchmarks/internal/bench.mjs",
24 "test": "pnpm build && c8 mocha 'tests/**/*.test.js'",
25 "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
26 "coverage": "c8 report --reporter=lcov",
27 "coverage:html": "c8 report --reporter=html",
28 "format": "prettier . --cache --write; ts-standard . --fix",
29 "lint": "eslint . --cache",
30 "lint:fix": "eslint . --cache --fix",
31 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
32 "release": "release-it",
33 "typedoc": "typedoc",
34 "prepublishOnly": "pnpm build:prod"
35 },
36 "ts-standard": {
37 "globals": [
38 "describe",
39 "it",
40 "before",
41 "after",
42 "beforeEach",
43 "afterEach"
44 ]
45 },
46 "engines": {
47 "node": ">=16.14.0",
48 "pnpm": ">=8.6.0"
49 },
50 "volta": {
51 "node": "20.5.0",
52 "pnpm": "8.6.12"
53 },
54 "repository": {
55 "type": "git",
56 "url": "git+https://github.com/poolifier/poolifier.git"
57 },
58 "keywords": [
59 "nodejs",
60 "worker pool",
61 "thread pool",
62 "worker_threads",
63 "cluster",
64 "concurrency",
65 "performance",
66 "cpu",
67 "computing",
68 "scheduling",
69 "parallelism",
70 "eventloop"
71 ],
72 "author": "pioardi",
73 "contributors": [
74 {
75 "name": "Christopher Quadflieg",
76 "email": "chrissi92@hotmail.de",
77 "url": "https://github.com/Shinigami92"
78 },
79 {
80 "name": "Jérôme Benoit",
81 "email": "jerome.benoit@piment-noir.org",
82 "url": "https://github.com/jerome-benoit"
83 }
84 ],
85 "funding": [
86 {
87 "type": "opencollective",
88 "url": "https://opencollective.com/poolifier"
89 },
90 {
91 "type": "github",
92 "url": "https://github.com/sponsors/poolifier"
93 }
94 ],
95 "bugs": {
96 "url": "https://github.com/poolifier/poolifier/issues"
97 },
98 "homepage": "https://github.com/poolifier/poolifier#readme",
99 "files": [
100 "lib"
101 ],
102 "pnpm": {
103 "overrides": {
104 "semver": "^7.5.3"
105 }
106 },
107 "devDependencies": {
108 "@commitlint/cli": "^17.7.0",
109 "@commitlint/config-conventional": "^17.7.0",
110 "@release-it/bumper": "^5.1.0",
111 "@release-it/keep-a-changelog": "^4.0.0",
112 "@rollup/plugin-terser": "^0.4.3",
113 "@rollup/plugin-typescript": "^11.1.2",
114 "@types/node": "^20.4.9",
115 "@typescript-eslint/eslint-plugin": "^5.62.0",
116 "@typescript-eslint/parser": "^5.62.0",
117 "benny": "^3.7.1",
118 "c8": "^8.0.1",
119 "eslint": "^8.46.0",
120 "eslint-config-standard": "^17.1.0",
121 "eslint-config-standard-with-typescript": "^37.0.0",
122 "eslint-define-config": "^1.23.0",
123 "eslint-import-resolver-typescript": "^3.6.0",
124 "eslint-plugin-import": "^2.28.0",
125 "eslint-plugin-jsdoc": "^46.4.6",
126 "eslint-plugin-n": "^16.0.1",
127 "eslint-plugin-promise": "^6.1.1",
128 "eslint-plugin-spellcheck": "^0.0.20",
129 "eslint-plugin-tsdoc": "^0.2.17",
130 "expect": "^29.6.2",
131 "husky": "^8.0.3",
132 "lint-staged": "^13.2.3",
133 "microtime": "^3.1.1",
134 "mocha": "^10.2.0",
135 "mochawesome": "^7.1.3",
136 "prettier": "^3.0.1",
137 "release-it": "^16.1.4",
138 "rollup": "^3.28.0",
139 "rollup-plugin-analyzer": "^4.0.0",
140 "rollup-plugin-command": "^1.1.3",
141 "rollup-plugin-delete": "^2.0.0",
142 "sinon": "^15.2.0",
143 "source-map-support": "^0.5.21",
144 "ts-standard": "^12.0.2",
145 "typedoc": "^0.24.8",
146 "typescript": "^5.1.6"
147 }
148 }