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": { | |
11370d9f | 9 | "node": "20.10.0", |
715a408a | 10 | "pnpm": "8.10.5" |
a8706532 JB |
11 | }, |
12 | "scripts": { | |
13 | "build": "pnpm build:clean && tsc", | |
14 | "build:clean": "tsc --build --clean", | |
d7154f8c | 15 | "start": "node --enable-source-maps 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" | |
a8706532 JB |
19 | }, |
20 | "keywords": [], | |
21 | "author": "", | |
22 | "license": "ISC", | |
23 | "dependencies": { | |
48e0b937 | 24 | "fastify": "^4.24.3", |
a8706532 | 25 | "fastify-plugin": "^4.5.1", |
0f47cdc7 | 26 | "poolifier": "^3.0.5" |
a8706532 JB |
27 | }, |
28 | "devDependencies": { | |
449125c3 | 29 | "@types/node": "^20.10.0", |
79eb0869 | 30 | "autocannon": "^7.14.0", |
ec88da80 | 31 | "typescript": "^5.3.2" |
a8706532 JB |
32 | } |
33 | } |