Commit | Line | Data |
---|---|---|
fac9ce96 JB |
1 | { |
2 | "$schema": "https://json.schemastore.org/package", | |
3 | "name": "express-request-pool", | |
4 | "version": "1.0.0", | |
5 | "description": "Express request pool", | |
6 | "main": "dist/main.js", | |
7 | "type": "module", | |
8 | "volta": { | |
1c5b9068 | 9 | "node": "20.9.0", |
3445d1c4 | 10 | "pnpm": "8.10.0" |
fac9ce96 JB |
11 | }, |
12 | "scripts": { | |
13 | "build": "pnpm build:clean && tsc", | |
14 | "build:clean": "tsc --build --clean", | |
15 | "start": "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" | |
fac9ce96 JB |
19 | }, |
20 | "keywords": [], | |
21 | "author": "", | |
22 | "license": "ISC", | |
23 | "dependencies": { | |
24 | "express": "^4.18.2", | |
b2ec8632 | 25 | "poolifier": "^3.0.5" |
fac9ce96 JB |
26 | }, |
27 | "devDependencies": { | |
c20d9994 | 28 | "@types/express": "^4.17.20", |
b79ec73d | 29 | "@types/node": "^20.8.9", |
72744a1b | 30 | "autocannon": "^7.12.0", |
e757a54e | 31 | "typescript": "^5.2.2" |
fac9ce96 JB |
32 | } |
33 | } |