| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/package", |
| 3 | "name": "poolifier", |
| 4 | "version": "3.1.20", |
| 5 | "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool", |
| 6 | "license": "MIT", |
| 7 | "type": "module", |
| 8 | "main": "./lib/index.cjs", |
| 9 | "module": "./lib/index.mjs", |
| 10 | "types": "./lib/index.d.ts", |
| 11 | "exports": { |
| 12 | ".": { |
| 13 | "types": "./lib/index.d.ts", |
| 14 | "require": "./lib/index.cjs", |
| 15 | "import": "./lib/index.mjs" |
| 16 | } |
| 17 | }, |
| 18 | "scripts": { |
| 19 | "preinstall": "npx --yes only-allow pnpm", |
| 20 | "prepare": "node prepare.mjs", |
| 21 | "build": "rollup --config --environment BUILD:development", |
| 22 | "build:prod": "rollup --config", |
| 23 | "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", |
| 24 | "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", |
| 25 | "benchmark": "pnpm build && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs", |
| 26 | "benchmark:prod": "pnpm build:prod && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs", |
| 27 | "benchmark:debug": "pnpm build && node --max-old-space-size=8192 --enable-source-maps --inspect benchmarks/internal/bench.mjs", |
| 28 | "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'", |
| 29 | "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'", |
| 30 | "coverage": "c8 report --reporter=lcov", |
| 31 | "coverage:html": "c8 report --reporter=html", |
| 32 | "format": "biome format . --write; eslint . --cache --fix", |
| 33 | "lint": "eslint . --cache", |
| 34 | "lint:fix": "eslint . --cache --fix", |
| 35 | "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", |
| 36 | "release": "release-it", |
| 37 | "typedoc": "node typedoc.mjs", |
| 38 | "prepublishOnly": "pnpm build:prod" |
| 39 | }, |
| 40 | "engines": { |
| 41 | "node": ">=18.0.0", |
| 42 | "pnpm": ">=8.6.0" |
| 43 | }, |
| 44 | "volta": { |
| 45 | "node": "20.11.0", |
| 46 | "pnpm": "8.15.1" |
| 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": [ |
| 98 | "lib" |
| 99 | ], |
| 100 | "pnpm": { |
| 101 | "overrides": { |
| 102 | "semver": "^7.5.3" |
| 103 | } |
| 104 | }, |
| 105 | "devDependencies": { |
| 106 | "@biomejs/biome": "^1.5.3", |
| 107 | "@commitlint/cli": "^18.6.0", |
| 108 | "@commitlint/config-conventional": "^18.6.0", |
| 109 | "@release-it/bumper": "^6.0.1", |
| 110 | "@release-it/keep-a-changelog": "^5.0.0", |
| 111 | "@rollup/plugin-terser": "^0.4.4", |
| 112 | "@rollup/plugin-typescript": "^11.1.6", |
| 113 | "@types/node": "^20.11.17", |
| 114 | "@typescript-eslint/eslint-plugin": "^6.21.0", |
| 115 | "@typescript-eslint/parser": "^6.21.0", |
| 116 | "benchmark": "^2.1.4", |
| 117 | "c8": "^9.1.0", |
| 118 | "cross-env": "^7.0.3", |
| 119 | "eslint": "^8.56.0", |
| 120 | "eslint-config-standard": "^17.1.0", |
| 121 | "eslint-config-standard-with-typescript": "^43.0.1", |
| 122 | "eslint-define-config": "^2.1.0", |
| 123 | "eslint-import-resolver-typescript": "^3.6.1", |
| 124 | "eslint-plugin-import": "^2.29.1", |
| 125 | "eslint-plugin-jsdoc": "^48.0.6", |
| 126 | "eslint-plugin-n": "^16.6.2", |
| 127 | "eslint-plugin-promise": "^6.1.1", |
| 128 | "eslint-plugin-spellcheck": "^0.0.20", |
| 129 | "eslint-plugin-tsdoc": "^0.2.17", |
| 130 | "expect": "^29.7.0", |
| 131 | "husky": "^9.0.10", |
| 132 | "lint-staged": "^15.2.2", |
| 133 | "microtime": "^3.1.1", |
| 134 | "mocha": "^10.3.0", |
| 135 | "mochawesome": "^7.1.3", |
| 136 | "prettier": "^3.2.5", |
| 137 | "release-it": "^17.0.3", |
| 138 | "rollup": "^4.10.0", |
| 139 | "rollup-plugin-analyzer": "^4.0.0", |
| 140 | "rollup-plugin-command": "^1.1.3", |
| 141 | "rollup-plugin-delete": "^2.0.0", |
| 142 | "rollup-plugin-dts": "^6.1.0", |
| 143 | "sinon": "^17.0.1", |
| 144 | "typedoc": "^0.25.8", |
| 145 | "typescript": "~5.3.3" |
| 146 | } |
| 147 | } |