Commit | Line | Data |
---|---|---|
3b311539 JB |
1 | { |
2 | "$schema": "https://json.schemastore.org/package", | |
3 | "name": "fastify-hybrid-pool", | |
4 | "version": "1.0.0", | |
5 | "description": "Fastify hybrid pool", | |
6 | "main": "dist/main.js", | |
7 | "type": "module", | |
8 | "volta": { | |
434206de | 9 | "node": "20.11.1", |
1bbea1bc | 10 | "pnpm": "8.15.5" |
3b311539 JB |
11 | }, |
12 | "scripts": { | |
c2515a41 | 13 | "build": "rollup --config --configPlugin typescript", |
d7154f8c JB |
14 | "start": "node --enable-source-maps dist/main.cjs", |
15 | "start:esm": "node --enable-source-maps dist/main.js", | |
edf8ce4e | 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" | |
3b311539 JB |
19 | }, |
20 | "keywords": [], | |
21 | "author": "", | |
22 | "license": "ISC", | |
23 | "dependencies": { | |
4a3ee52b | 24 | "fastify": "^4.26.2", |
3b311539 | 25 | "fastify-plugin": "^4.5.1", |
59776ec5 | 26 | "poolifier": "^3.1.25" |
3b311539 JB |
27 | }, |
28 | "devDependencies": { | |
169acbcf | 29 | "@rollup/plugin-typescript": "^11.1.6", |
0f556e14 | 30 | "@types/node": "^20.11.30", |
312eb4a0 | 31 | "autocannon": "^7.15.0", |
59776ec5 | 32 | "rollup": "^4.13.1", |
3b311539 | 33 | "rollup-plugin-delete": "^2.0.0", |
991fc468 | 34 | "tslib": "^2.6.2", |
23c559fb | 35 | "typescript": "^5.4.3" |
3b311539 JB |
36 | } |
37 | } |