build: switch from prettier to rome as code formatter
[poolifier.git] / package.json
CommitLineData
6dc67cda 1{
4f19da60 2 "$schema": "https://json.schemastore.org/package",
5648b9ca 3 "name": "poolifier",
5b726f72 4 "version": "2.6.25",
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",
93dd056a 24 "benchmark:prod": "pnpm build:prod && benchmarks/internal/bench.mjs",
bb8ed27c
JB
25 "test": "pnpm build && c8 mocha 'tests/**/*.test.js'",
26 "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
0fd86768
JB
27 "coverage": "c8 report --reporter=lcov",
28 "coverage:html": "c8 report --reporter=html",
8ebe6c30 29 "format": "rome 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": {
8ebe6c30 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": {
6ed16e54 45 "node": "20.5.1",
2f034ea6 46 "pnpm": "8.6.12"
bc3227d8 47 },
6dc67cda 48 "repository": {
49 "type": "git",
6ccc1262 50 "url": "git+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 ],
6dc67cda 66 "author": "pioardi",
7e4f7b97 67 "contributors": [
68 {
69 "name": "Christopher Quadflieg",
70 "email": "chrissi92@hotmail.de",
71 "url": "https://github.com/Shinigami92"
72 },
73 {
818f2180 74 "name": "Jérôme Benoit",
7c638181 75 "email": "jerome.benoit@piment-noir.org",
7e4f7b97 76 "url": "https://github.com/jerome-benoit"
77 }
78 ],
479b44a7
JB
79 "funding": [
80 {
81 "type": "opencollective",
82 "url": "https://opencollective.com/poolifier"
09bf56a0
JB
83 },
84 {
85 "type": "github",
86 "url": "https://github.com/sponsors/poolifier"
479b44a7
JB
87 }
88 ],
6dc67cda 89 "bugs": {
6ccc1262 90 "url": "https://github.com/poolifier/poolifier/issues"
6dc67cda 91 },
6ccc1262 92 "homepage": "https://github.com/poolifier/poolifier#readme",
8ebe6c30 93 "files": ["lib"],
c6bcaac6
JB
94 "pnpm": {
95 "overrides": {
96 "semver": "^7.5.3"
97 }
98 },
973cde26 99 "devDependencies": {
006b98fe 100 "@commitlint/cli": "^17.7.1",
214804c3 101 "@commitlint/config-conventional": "^17.7.0",
7d1ac235 102 "@release-it/bumper": "^5.1.0",
b80e10df 103 "@release-it/keep-a-changelog": "^4.0.0",
4745ba4a 104 "@rollup/plugin-terser": "^0.4.3",
af64732b 105 "@rollup/plugin-typescript": "^11.1.2",
5236e5d6 106 "@types/node": "^20.5.0",
b80e10df
JB
107 "@typescript-eslint/eslint-plugin": "^5.62.0",
108 "@typescript-eslint/parser": "^5.62.0",
ca6c7d70 109 "benny": "^3.7.1",
21554946 110 "c8": "^8.0.1",
5886a6e8 111 "eslint": "^8.47.0",
458509ad 112 "eslint-config-standard": "^17.1.0",
987aab32 113 "eslint-config-standard-with-typescript": "^37.0.0",
0223b392 114 "eslint-define-config": "^1.23.0",
214804c3 115 "eslint-import-resolver-typescript": "^3.6.0",
4e149a78 116 "eslint-plugin-import": "^2.28.0",
0f2c9e06 117 "eslint-plugin-jsdoc": "^46.4.6",
01d400ef 118 "eslint-plugin-n": "^16.0.1",
2f8c5b5c 119 "eslint-plugin-promise": "^6.1.1",
06f7a33b 120 "eslint-plugin-spellcheck": "^0.0.20",
38e795c1 121 "eslint-plugin-tsdoc": "^0.2.17",
d66d8d9d 122 "expect": "^29.6.2",
a974afa6 123 "husky": "^8.0.3",
63ff88a9 124 "lint-staged": "^13.3.0",
7595e433 125 "microtime": "^3.1.1",
5d5a6f8f 126 "mocha": "^10.2.0",
5080f39d 127 "mochawesome": "^7.1.3",
63ff88a9 128 "release-it": "^16.1.5",
214804c3 129 "rollup": "^3.28.0",
f45e4999 130 "rollup-plugin-analyzer": "^4.0.0",
5ea22628 131 "rollup-plugin-command": "^1.1.3",
660940b0 132 "rollup-plugin-delete": "^2.0.0",
8ebe6c30 133 "rome": "^12.1.3",
501f774f 134 "sinon": "^15.2.0",
eae1fc25 135 "source-map-support": "^0.5.21",
c9102ab4 136 "ts-standard": "^12.0.2",
25038f6a 137 "typedoc": "^0.24.8",
4b00bdc1 138 "typescript": "^5.1.6"
777b7824 139 }
6dc67cda 140}