| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/package", |
| 3 | "name": "poolifier", |
| 4 | "version": "2.7.4", |
| 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:prod": "rollup --config", |
| 20 | "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", |
| 21 | "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", |
| 22 | "benchmark": "pnpm build && node --max-old-space-size=4096 -r source-map-support/register benchmarks/internal/bench.mjs", |
| 23 | "benchmark:prod": "pnpm build:prod && node --max-old-space-size=4096 benchmarks/internal/bench.mjs", |
| 24 | "benchmark:debug": "pnpm build && node --max-old-space-size=4096 -r source-map-support/register --inspect benchmarks/internal/bench.mjs", |
| 25 | "test": "pnpm build --environment SOURCEMAP:false && c8 mocha 'tests/**/*.test.mjs'", |
| 26 | "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.mjs'", |
| 27 | "coverage": "c8 report --reporter=lcov", |
| 28 | "coverage:html": "c8 report --reporter=html", |
| 29 | "format": "biome 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", "after", "before", "afterEach", "beforeEach"] |
| 39 | }, |
| 40 | "engines": { |
| 41 | "node": ">=16.14.0", |
| 42 | "pnpm": ">=8.6.0" |
| 43 | }, |
| 44 | "volta": { |
| 45 | "node": "20.8.0", |
| 46 | "pnpm": "8.8.0" |
| 47 | }, |
| 48 | "repository": { |
| 49 | "type": "git", |
| 50 | "url": "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": { |
| 67 | "name": "Alessandro Pio Ardizio", |
| 68 | "email": "alessandroardizio94@gmail.com", |
| 69 | "url": "https://github.com/pioardi" |
| 70 | }, |
| 71 | "contributors": [ |
| 72 | { |
| 73 | "name": "Christopher Quadflieg", |
| 74 | "email": "chrissi92@hotmail.de", |
| 75 | "url": "https://github.com/Shinigami92" |
| 76 | }, |
| 77 | { |
| 78 | "name": "Jérôme Benoit", |
| 79 | "email": "jerome.benoit@piment-noir.org", |
| 80 | "url": "https://github.com/jerome-benoit" |
| 81 | } |
| 82 | ], |
| 83 | "funding": [ |
| 84 | { |
| 85 | "type": "opencollective", |
| 86 | "url": "https://opencollective.com/poolifier" |
| 87 | }, |
| 88 | { |
| 89 | "type": "github", |
| 90 | "url": "https://github.com/sponsors/poolifier" |
| 91 | } |
| 92 | ], |
| 93 | "bugs": { |
| 94 | "url": "https://github.com/poolifier/poolifier/issues" |
| 95 | }, |
| 96 | "homepage": "https://github.com/poolifier/poolifier#readme", |
| 97 | "files": ["lib"], |
| 98 | "pnpm": { |
| 99 | "overrides": { |
| 100 | "semver": "^7.5.3" |
| 101 | } |
| 102 | }, |
| 103 | "devDependencies": { |
| 104 | "@biomejs/biome": "^1.2.2", |
| 105 | "@commitlint/cli": "^17.7.2", |
| 106 | "@commitlint/config-conventional": "^17.7.0", |
| 107 | "@release-it/bumper": "^5.1.0", |
| 108 | "@release-it/keep-a-changelog": "^4.0.0", |
| 109 | "@rollup/plugin-terser": "^0.4.3", |
| 110 | "@rollup/plugin-typescript": "^11.1.4", |
| 111 | "@types/node": "^20.8.2", |
| 112 | "@typescript-eslint/eslint-plugin": "^6.7.4", |
| 113 | "@typescript-eslint/parser": "^6.7.4", |
| 114 | "benchmark": "^2.1.4", |
| 115 | "c8": "^8.0.1", |
| 116 | "eslint": "^8.50.0", |
| 117 | "eslint-config-standard": "^17.1.0", |
| 118 | "eslint-config-standard-with-typescript": "^39.1.0", |
| 119 | "eslint-define-config": "^1.23.0", |
| 120 | "eslint-import-resolver-typescript": "^3.6.1", |
| 121 | "eslint-plugin-import": "^2.28.1", |
| 122 | "eslint-plugin-jsdoc": "^46.8.2", |
| 123 | "eslint-plugin-n": "^16.1.0", |
| 124 | "eslint-plugin-promise": "^6.1.1", |
| 125 | "eslint-plugin-spellcheck": "^0.0.20", |
| 126 | "eslint-plugin-tsdoc": "^0.2.17", |
| 127 | "expect": "^29.7.0", |
| 128 | "husky": "^8.0.3", |
| 129 | "lint-staged": "^14.0.1", |
| 130 | "microtime": "^3.1.1", |
| 131 | "mocha": "^10.2.0", |
| 132 | "mochawesome": "^7.1.3", |
| 133 | "prettier": "^3.0.3", |
| 134 | "release-it": "^16.2.1", |
| 135 | "rollup": "^3.29.4", |
| 136 | "rollup-plugin-analyzer": "^4.0.0", |
| 137 | "rollup-plugin-command": "^1.1.3", |
| 138 | "rollup-plugin-delete": "^2.0.0", |
| 139 | "rollup-plugin-dts": "^6.0.2", |
| 140 | "sinon": "^16.0.0", |
| 141 | "source-map-support": "^0.5.21", |
| 142 | "ts-standard": "^12.0.2", |
| 143 | "typedoc": "^0.25.1", |
| 144 | "typescript": "~5.2.2" |
| 145 | } |
| 146 | } |