Commit | Line | Data |
---|---|---|
15a9c195 JB |
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": { | |
4b72aab9 | 9 | "node": "22.2.0", |
d912486e | 10 | "pnpm": "9.1.2" |
15a9c195 | 11 | }, |
d912486e | 12 | "packageManager": "pnpm@9.1.2", |
15a9c195 | 13 | "scripts": { |
c2515a41 | 14 | "build": "rollup --config --configPlugin typescript", |
d7154f8c JB |
15 | "start": "node --enable-source-maps dist/main.cjs", |
16 | "start:esm": "node --enable-source-maps dist/main.js", | |
72744a1b | 17 | "test": "echo \"Error: no test specified\" && exit 1", |
aa1e0433 | 18 | "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", |
66f0c14c | 19 | "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/50000" |
15a9c195 JB |
20 | }, |
21 | "keywords": [], | |
22 | "author": "", | |
23 | "license": "ISC", | |
24 | "dependencies": { | |
de39d355 | 25 | "express": "^4.19.2", |
5dbf93a6 | 26 | "poolifier": "^4.0.11" |
15a9c195 JB |
27 | }, |
28 | "devDependencies": { | |
63755818 | 29 | "@rollup/plugin-typescript": "^11.1.6", |
232af849 | 30 | "@types/express": "^4.17.21", |
c8e1a85c | 31 | "@types/node": "^20.12.12", |
312eb4a0 | 32 | "autocannon": "^7.15.0", |
5dbf93a6 | 33 | "rollup": "^4.18.0", |
15a9c195 | 34 | "rollup-plugin-delete": "^2.0.0", |
6680f3d8 | 35 | "tslib": "^2.6.2", |
13621494 | 36 | "typescript": "^5.4.5" |
15a9c195 JB |
37 | } |
38 | } |