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": { | |
d5eb4a90 | 9 | "node": "20.8.1", |
5f61c433 | 10 | "pnpm": "8.9.2" |
15a9c195 JB |
11 | }, |
12 | "scripts": { | |
13 | "build": "rollup --config", | |
14 | "start": "node dist/main.cjs", | |
2b6c61ec | 15 | "start:esm": "node dist/main.js", |
72744a1b | 16 | "test": "echo \"Error: no test specified\" && exit 1", |
aa1e0433 JB |
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" | |
15a9c195 JB |
19 | }, |
20 | "keywords": [], | |
21 | "author": "", | |
22 | "license": "ISC", | |
23 | "dependencies": { | |
24 | "express": "^4.18.2", | |
79d4db82 | 25 | "poolifier": "^3.0.4" |
15a9c195 JB |
26 | }, |
27 | "devDependencies": { | |
60af1e8c | 28 | "@rollup/plugin-typescript": "^11.1.5", |
c20d9994 JB |
29 | "@types/express": "^4.17.20", |
30 | "@types/node": "^20.8.7", | |
72744a1b | 31 | "autocannon": "^7.12.0", |
ed6afb83 | 32 | "rollup": "^4.1.4", |
15a9c195 | 33 | "rollup-plugin-delete": "^2.0.0", |
6680f3d8 | 34 | "tslib": "^2.6.2", |
4fb13fc1 | 35 | "typescript": "^5.2.2" |
15a9c195 JB |
36 | } |
37 | } |