Commit | Line | Data |
---|---|---|
418077df JB |
1 | { |
2 | "$schema": "https://json.schemastore.org/package", | |
3 | "name": "fastify-cluster-pool", | |
4 | "version": "1.0.0", | |
5 | "description": "Fastify cluster pool", | |
6 | "main": "dist/main.js", | |
7 | "type": "module", | |
8 | "volta": { | |
506aa7e0 | 9 | "node": "20.12.2", |
f5354275 | 10 | "pnpm": "8.15.6" |
418077df | 11 | }, |
c3024c59 | 12 | "packageManager": "pnpm@8.15.6", |
418077df | 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", | |
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" |
418077df JB |
20 | }, |
21 | "keywords": [], | |
22 | "author": "", | |
23 | "license": "ISC", | |
24 | "dependencies": { | |
4a3ee52b | 25 | "fastify": "^4.26.2", |
e8cded5b | 26 | "poolifier": "^3.1.29" |
418077df JB |
27 | }, |
28 | "devDependencies": { | |
a97b738b | 29 | "@rollup/plugin-typescript": "^11.1.6", |
78338da8 | 30 | "@types/node": "^20.12.7", |
312eb4a0 | 31 | "autocannon": "^7.15.0", |
8b7e3db5 | 32 | "rollup": "^4.14.2", |
418077df | 33 | "rollup-plugin-delete": "^2.0.0", |
64f02437 | 34 | "tslib": "^2.6.2", |
67a3b2fb | 35 | "typescript": "^5.4.5" |
418077df JB |
36 | } |
37 | } |