0f673d874936b9f27c823240380c1a985a6f98a8
[poolifier.git] / examples / typescript / http-server-pool / fastify-worker_threads / package.json
1 {
2 "$schema": "https://json.schemastore.org/package",
3 "name": "fastify-plugin-request-pool",
4 "version": "1.0.0",
5 "description": "Fastify plugin request pool",
6 "main": "dist/main.js",
7 "type": "module",
8 "volta": {
9 "node": "20.11.1",
10 "pnpm": "8.15.4"
11 },
12 "scripts": {
13 "build": "pnpm build:clean && tsc",
14 "build:clean": "tsc --build --clean",
15 "start": "node --enable-source-maps dist/main.js",
16 "test": "echo \"Error: no test specified\" && exit 1",
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"
19 },
20 "keywords": [],
21 "author": "",
22 "license": "ISC",
23 "dependencies": {
24 "fastify": "^4.26.2",
25 "fastify-plugin": "^4.5.1",
26 "poolifier": "^3.1.21"
27 },
28 "devDependencies": {
29 "@types/node": "^20.11.28",
30 "autocannon": "^7.15.0",
31 "typescript": "^5.4.2"
32 }
33 }