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": { | |
364cc2e9 | 9 | "node": "22.3.0", |
c0352040 | 10 | "pnpm": "9.4.0" |
a8706532 | 11 | }, |
c0352040 | 12 | "packageManager": "pnpm@9.4.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": { | |
b120cd46 | 25 | "fastify": "^4.28.0", |
a8706532 | 26 | "fastify-plugin": "^4.5.1", |
02723e5f | 27 | "poolifier": "^4.0.14" |
a8706532 JB |
28 | }, |
29 | "devDependencies": { | |
ace4d248 | 30 | "@types/node": "^20.14.6", |
312eb4a0 | 31 | "autocannon": "^7.15.0", |
0ab3d40d | 32 | "typescript": "^5.4.5" |
a8706532 JB |
33 | } |
34 | } |