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": { | |
5c48a859 | 9 | "node": "22.4.0", |
c0352040 | 10 | "pnpm": "9.4.0" |
fac9ce96 | 11 | }, |
c0352040 | 12 | "packageManager": "pnpm@9.4.0", |
fac9ce96 JB |
13 | "scripts": { |
14 | "build": "pnpm build:clean && tsc", | |
15 | "build:clean": "tsc --build --clean", | |
d7154f8c | 16 | "start": "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" |
fac9ce96 JB |
20 | }, |
21 | "keywords": [], | |
22 | "author": "", | |
23 | "license": "ISC", | |
24 | "dependencies": { | |
8b5e8e9e | 25 | "express": "^4.19.2", |
6e1b4deb | 26 | "poolifier": "^4.0.16" |
fac9ce96 JB |
27 | }, |
28 | "devDependencies": { | |
4882d876 | 29 | "@types/express": "^4.17.21", |
6f81d573 | 30 | "@types/node": "^20.14.10", |
312eb4a0 | 31 | "autocannon": "^7.15.0", |
1e985123 | 32 | "typescript": "^5.5.3" |
fac9ce96 JB |
33 | } |
34 | } |