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": { | |
11370d9f | 9 | "node": "20.10.0", |
a29840a9 | 10 | "pnpm": "8.12.0" |
418077df 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", | |
72744a1b | 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" | |
418077df JB |
19 | }, |
20 | "keywords": [], | |
21 | "author": "", | |
22 | "license": "ISC", | |
23 | "dependencies": { | |
a83afd12 | 24 | "fastify": "^4.24.3", |
6f6222f9 | 25 | "poolifier": "^3.0.10" |
418077df JB |
26 | }, |
27 | "devDependencies": { | |
51349412 | 28 | "@rollup/plugin-typescript": "^11.1.5", |
896521a9 | 29 | "@types/node": "^20.10.4", |
a4c768f9 | 30 | "autocannon": "^7.14.0", |
8428b256 | 31 | "rollup": "^4.7.0", |
418077df | 32 | "rollup-plugin-delete": "^2.0.0", |
64f02437 | 33 | "tslib": "^2.6.2", |
9e84dd97 | 34 | "typescript": "^5.3.3" |
418077df JB |
35 | } |
36 | } |