Commit | Line | Data |
---|---|---|
a8706532 JB |
1 | { |
2 | "$schema": "https://json.schemastore.org/package", | |
219d4044 | 3 | "name": "fastify-plugin-request-pool", |
a8706532 | 4 | "version": "1.0.0", |
d2bc8d80 | 5 | "description": "Fastify plugin request pool", |
a8706532 JB |
6 | "main": "dist/main.js", |
7 | "type": "module", | |
8 | "volta": { | |
bebf5e8c JB |
9 | "node": "22.4.1", |
10 | "pnpm": "9.5.0" | |
a8706532 | 11 | }, |
bebf5e8c | 12 | "packageManager": "pnpm@9.5.0", |
a8706532 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" |
a8706532 JB |
20 | }, |
21 | "keywords": [], | |
22 | "author": "", | |
23 | "license": "ISC", | |
24 | "dependencies": { | |
0aa00166 | 25 | "fastify": "^4.28.1", |
a8706532 | 26 | "fastify-plugin": "^4.5.1", |
5b52164b | 27 | "poolifier": "^4.0.17" |
a8706532 JB |
28 | }, |
29 | "devDependencies": { | |
ffa4f4f2 | 30 | "@types/node": "^20.14.10", |
312eb4a0 | 31 | "autocannon": "^7.15.0", |
1e985123 | 32 | "typescript": "^5.5.3" |
a8706532 JB |
33 | } |
34 | } |