| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/package", |
| 3 | "name": "express-cluster-pool", |
| 4 | "version": "1.0.0", |
| 5 | "description": "Express cluster pool", |
| 6 | "main": "dist/main.js", |
| 7 | "type": "module", |
| 8 | "volta": { |
| 9 | "node": "20.11.1", |
| 10 | "pnpm": "8.15.3" |
| 11 | }, |
| 12 | "scripts": { |
| 13 | "build": "rollup --config --configPlugin typescript", |
| 14 | "start": "node --enable-source-maps dist/main.cjs", |
| 15 | "start:esm": "node --enable-source-maps dist/main.js", |
| 16 | "test": "echo \"Error: no test specified\" && exit 1", |
| 17 | "benchmark:echo": "autocannon -c 100 -d 30 -p 10 -m POST -H Content-Type=application/json -b '{\"key1\":\"value1\", \"key2\":\"value2\"}' http://localhost:8080/api/echo", |
| 18 | "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/30" |
| 19 | }, |
| 20 | "keywords": [], |
| 21 | "author": "", |
| 22 | "license": "ISC", |
| 23 | "dependencies": { |
| 24 | "express": "^4.18.2", |
| 25 | "poolifier": "^3.1.20" |
| 26 | }, |
| 27 | "devDependencies": { |
| 28 | "@rollup/plugin-typescript": "^11.1.6", |
| 29 | "@types/express": "^4.17.21", |
| 30 | "@types/node": "^20.11.20", |
| 31 | "autocannon": "^7.15.0", |
| 32 | "rollup": "^4.12.0", |
| 33 | "rollup-plugin-delete": "^2.0.0", |
| 34 | "tslib": "^2.6.2", |
| 35 | "typescript": "^5.3.3" |
| 36 | } |
| 37 | } |