| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/package", |
| 3 | "name": "fastify-plugin-request-pool", |
| 4 | "version": "1.0.0", |
| 5 | "description": "Fastify plugin request pool", |
| 6 | "main": "dist/main.js", |
| 7 | "type": "module", |
| 8 | "volta": { |
| 9 | "node": "22.1.0", |
| 10 | "pnpm": "9.1.0" |
| 11 | }, |
| 12 | "packageManager": "pnpm@9.1.0", |
| 13 | "scripts": { |
| 14 | "build": "pnpm build:clean && tsc", |
| 15 | "build:clean": "tsc --build --clean", |
| 16 | "start": "node --enable-source-maps dist/main.js", |
| 17 | "test": "echo \"Error: no test specified\" && exit 1", |
| 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", |
| 19 | "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/50000" |
| 20 | }, |
| 21 | "keywords": [], |
| 22 | "author": "", |
| 23 | "license": "ISC", |
| 24 | "dependencies": { |
| 25 | "fastify": "^4.26.2", |
| 26 | "fastify-plugin": "^4.5.1", |
| 27 | "poolifier": "^4.0.1" |
| 28 | }, |
| 29 | "devDependencies": { |
| 30 | "@types/node": "^20.12.8", |
| 31 | "autocannon": "^7.15.0", |
| 32 | "typescript": "^5.4.5" |
| 33 | } |
| 34 | } |