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