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": { | |
5c48a859 | 9 | "node": "22.4.0", |
c0352040 | 10 | "pnpm": "9.4.0" |
3b311539 | 11 | }, |
c0352040 | 12 | "packageManager": "pnpm@9.4.0", |
3b311539 | 13 | "scripts": { |
c2515a41 | 14 | "build": "rollup --config --configPlugin typescript", |
d7154f8c JB |
15 | "start": "node --enable-source-maps dist/main.cjs", |
16 | "start:esm": "node --enable-source-maps dist/main.js", | |
edf8ce4e | 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" |
3b311539 JB |
20 | }, |
21 | "keywords": [], | |
22 | "author": "", | |
23 | "license": "ISC", | |
24 | "dependencies": { | |
0aa00166 | 25 | "fastify": "^4.28.1", |
3b311539 | 26 | "fastify-plugin": "^4.5.1", |
ec4d611b | 27 | "poolifier": "^4.0.16" |
3b311539 JB |
28 | }, |
29 | "devDependencies": { | |
169acbcf | 30 | "@rollup/plugin-typescript": "^11.1.6", |
3b594fe1 | 31 | "@types/node": "^20.14.9", |
312eb4a0 | 32 | "autocannon": "^7.15.0", |
5dbf93a6 | 33 | "rollup": "^4.18.0", |
3b311539 | 34 | "rollup-plugin-delete": "^2.0.0", |
467aa7af | 35 | "tslib": "^2.6.3", |
1e985123 | 36 | "typescript": "^5.5.3" |
3b311539 JB |
37 | } |
38 | } |