| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/package", |
| 3 | "name": "poolifier", |
| 4 | "version": "4.0.14", |
| 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 | "prepare": "node prepare.mjs", |
| 20 | "build": "rollup --config --environment BUILD:development", |
| 21 | "build:prod": "rollup --config", |
| 22 | "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", |
| 23 | "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", |
| 24 | "benchmark:tatami-ng": "pnpm build && node --enable-source-maps benchmarks/internal/bench.mjs -t tatami-ng", |
| 25 | "benchmark:tatami-ng:prod": "pnpm build:prod && node --enable-source-maps benchmarks/internal/bench.mjs -t tatami-ng", |
| 26 | "benchmark:tatami-ng:debug": "pnpm build && node --enable-source-maps --inspect benchmarks/internal/bench.mjs -t tatami-ng", |
| 27 | "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'", |
| 28 | "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'", |
| 29 | "coverage": "c8 report --reporter=lcov", |
| 30 | "coverage:html": "c8 report --reporter=html", |
| 31 | "format": "biome format . --write; eslint . --cache --fix", |
| 32 | "lint": "eslint . --cache", |
| 33 | "lint:fix": "eslint . --cache --fix", |
| 34 | "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", |
| 35 | "release": "release-it", |
| 36 | "typedoc": "node typedoc.mjs", |
| 37 | "prepublishOnly": "pnpm build:prod" |
| 38 | }, |
| 39 | "engines": { |
| 40 | "node": ">=18.0.0", |
| 41 | "pnpm": ">=9.0.0" |
| 42 | }, |
| 43 | "volta": { |
| 44 | "node": "22.3.0", |
| 45 | "pnpm": "9.4.0" |
| 46 | }, |
| 47 | "packageManager": "pnpm@9.4.0", |
| 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.8.1", |
| 105 | "@commitlint/cli": "^19.3.0", |
| 106 | "@commitlint/config-conventional": "^19.2.2", |
| 107 | "@cspell/eslint-plugin": "^8.8.4", |
| 108 | "@eslint/js": "^9.5.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.14.3", |
| 114 | "c8": "^10.1.2", |
| 115 | "cross-env": "^7.0.3", |
| 116 | "eslint": "^9.5.0", |
| 117 | "eslint-define-config": "^2.1.0", |
| 118 | "eslint-plugin-jsdoc": "^48.2.12", |
| 119 | "eslint-plugin-n": "^17.9.0", |
| 120 | "eslint-plugin-simple-import-sort": "^12.1.0", |
| 121 | "expect": "^29.7.0", |
| 122 | "globals": "^15.6.0", |
| 123 | "husky": "^9.0.11", |
| 124 | "lint-staged": "^15.2.7", |
| 125 | "mocha": "^10.4.0", |
| 126 | "mochawesome": "^7.1.3", |
| 127 | "neostandard": "^0.7.2", |
| 128 | "prettier": "^3.3.2", |
| 129 | "release-it": "^17.3.0", |
| 130 | "rollup": "^4.18.0", |
| 131 | "rollup-plugin-analyzer": "^4.0.0", |
| 132 | "rollup-plugin-command": "^1.1.3", |
| 133 | "rollup-plugin-delete": "^2.0.0", |
| 134 | "rollup-plugin-dts": "^6.1.1", |
| 135 | "sinon": "^18.0.0", |
| 136 | "tatami-ng": "^0.4.15", |
| 137 | "typedoc": "^0.25.13", |
| 138 | "typescript": "~5.4.5" |
| 139 | } |
| 140 | } |