build(ci): enable dependencies caching with pnpm
[poolifier.git] / package.json
... / ...
CommitLineData
1{
2 "name": "poolifier",
3 "version": "2.4.10",
4 "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation",
5 "license": "MIT",
6 "main": "./lib/index.js",
7 "exports": {
8 ".": {
9 "require": "./lib/index.js",
10 "import": "./lib/index.mjs"
11 }
12 },
13 "scripts": {
14 "preinstall": "npx --yes only-allow pnpm",
15 "prepare": "node prepare.js",
16 "build": "rollup --config --environment BUILD:development",
17 "build:typedoc": "rollup --config --environment BUILD:development --environment DOCUMENTATION",
18 "build:prod": "rollup --config",
19 "benchmark": "pnpm run build && node -r source-map-support/register benchmarks/internal/bench.js",
20 "benchmark:debug": "pnpm run build && node -r source-map-support/register --inspect benchmarks/internal/bench.js",
21 "benchmark:prod": "pnpm run build:prod && node -r source-map-support/register benchmarks/internal/bench.js",
22 "test": "pnpm run build && c8 mocha 'tests/**/*.test.js'",
23 "test:debug": "pnpm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
24 "coverage": "c8 report --reporter=lcov",
25 "coverage:html": "c8 report --reporter=html",
26 "format": "prettier . --cache --write; ts-standard . --fix",
27 "lint": "eslint . --cache",
28 "lint:fix": "eslint . --cache --fix",
29 "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
30 "release": "release-it",
31 "typedoc": "typedoc",
32 "prepublishOnly": "pnpm run build:prod"
33 },
34 "ts-standard": {
35 "globals": [
36 "describe",
37 "it",
38 "before",
39 "after",
40 "beforeEach",
41 "afterEach"
42 ]
43 },
44 "engines": {
45 "node": ">=16.0.0"
46 },
47 "volta": {
48 "node": "20.0.0"
49 },
50 "repository": {
51 "type": "git",
52 "url": "git+https://github.com/poolifier/poolifier.git"
53 },
54 "keywords": [
55 "node",
56 "pool",
57 "workers pool",
58 "threads pool",
59 "worker-threads",
60 "cluster",
61 "cluster worker",
62 "concurrency",
63 "performance",
64 "cpu",
65 "computing",
66 "async computing",
67 "async resource"
68 ],
69 "author": "pioardi",
70 "contributors": [
71 {
72 "name": "Christopher Quadflieg",
73 "email": "chrissi92@hotmail.de",
74 "url": "https://github.com/Shinigami92"
75 },
76 {
77 "name": "Jérôme Benoit",
78 "email": "jerome.benoit@piment-noir.org",
79 "url": "https://github.com/jerome-benoit"
80 }
81 ],
82 "funding": [
83 {
84 "type": "opencollective",
85 "url": "https://opencollective.com/poolifier"
86 },
87 {
88 "type": "github",
89 "url": "https://github.com/sponsors/poolifier"
90 }
91 ],
92 "bugs": {
93 "url": "https://github.com/poolifier/poolifier/issues"
94 },
95 "homepage": "https://github.com/poolifier/poolifier#readme",
96 "files": [
97 "lib"
98 ],
99 "devDependencies": {
100 "@commitlint/cli": "^17.6.1",
101 "@commitlint/config-conventional": "^17.6.1",
102 "@release-it/bumper": "^4.0.2",
103 "@release-it/keep-a-changelog": "^3.1.0",
104 "@rollup/plugin-terser": "^0.4.1",
105 "@rollup/plugin-typescript": "^11.1.0",
106 "@types/node": "^18.15.13",
107 "@typescript-eslint/eslint-plugin": "^5.59.0",
108 "@typescript-eslint/parser": "^5.59.0",
109 "benny": "^3.7.1",
110 "c8": "^7.13.0",
111 "eslint": "^8.39.0",
112 "eslint-config-standard": "^17.0.0",
113 "eslint-config-standard-with-typescript": "^34.0.1",
114 "eslint-define-config": "^1.18.0",
115 "eslint-import-resolver-typescript": "^3.5.5",
116 "eslint-plugin-import": "^2.27.5",
117 "eslint-plugin-jsdoc": "^43.0.7",
118 "eslint-plugin-n": "^15.7.0",
119 "eslint-plugin-promise": "^6.1.1",
120 "eslint-plugin-spellcheck": "^0.0.20",
121 "eslint-plugin-tsdoc": "^0.2.17",
122 "expect": "^29.5.0",
123 "husky": "^8.0.3",
124 "lint-staged": "^13.2.1",
125 "microtime": "^3.1.1",
126 "mocha": "^10.2.0",
127 "mochawesome": "^7.1.3",
128 "prettier": "^2.8.7",
129 "prettier-plugin-organize-imports": "^3.2.2",
130 "release-it": "^15.10.1",
131 "rollup": "^3.20.7",
132 "rollup-plugin-analyzer": "^4.0.0",
133 "rollup-plugin-command": "^1.1.3",
134 "rollup-plugin-delete": "^2.0.0",
135 "sinon": "^15.0.4",
136 "source-map-support": "^0.5.21",
137 "ts-standard": "^12.0.2",
138 "typedoc": "^0.24.4",
139 "typescript": "^5.0.4"
140 }
141}