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": { | |
9 | "node": "20.5.1", | |
4e005476 | 10 | "pnpm": "8.7.0" |
418077df JB |
11 | }, |
12 | "scripts": { | |
13 | "build": "rollup --config", | |
14 | "start": "node dist/main.cjs", | |
15 | "start:esm": "node dist/main.js", | |
72744a1b JB |
16 | "test": "echo \"Error: no test specified\" && exit 1", |
17 | "benchmark:echo": "autocannon -c 60 -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 60 -d 30 -p 10 http://localhost:8080/api/factorial/30" | |
418077df JB |
19 | }, |
20 | "keywords": [], | |
21 | "author": "", | |
22 | "license": "ISC", | |
23 | "dependencies": { | |
bae5c880 | 24 | "fastify": "^4.22.0", |
242d7a13 | 25 | "poolifier": "^2.6.37" |
418077df JB |
26 | }, |
27 | "devDependencies": { | |
834c0e57 | 28 | "@rollup/plugin-typescript": "^11.1.3", |
db7ed1d7 | 29 | "@types/node": "^20.5.7", |
72744a1b | 30 | "autocannon": "^7.12.0", |
e57eb4d0 | 31 | "rollup": "^3.28.1", |
418077df | 32 | "rollup-plugin-delete": "^2.0.0", |
64f02437 | 33 | "tslib": "^2.6.2", |
d71ff32b | 34 | "typescript": "^5.2.2" |
418077df JB |
35 | } |
36 | } |