build(deps-dev): bump @types/node
[poolifier.git] / examples / typescript / http-server-pool / express-worker_threads / package.json
index 5d4bfd8deabc0206dae491cc640a8842d791cfc8..9d883bffeb89986dfb5eec321c3be899829652a0 100644 (file)
@@ -7,24 +7,27 @@
   "type": "module",
   "volta": {
     "node": "20.5.1",
-    "pnpm": "8.6.12"
+    "pnpm": "8.7.1"
   },
   "scripts": {
     "build": "pnpm build:clean && tsc",
     "build:clean": "tsc --build --clean",
     "start": "node dist/main.js",
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "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",
+    "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/30"
   },
   "keywords": [],
   "author": "",
   "license": "ISC",
   "dependencies": {
     "express": "^4.18.2",
-    "poolifier": "^2.6.34"
+    "poolifier": "^2.6.39"
   },
   "devDependencies": {
     "@types/express": "^4.17.17",
-    "@types/node": "^20.5.6",
-    "typescript": "^5.1.6"
+    "@types/node": "^20.5.8",
+    "autocannon": "^7.12.0",
+    "typescript": "^5.2.2"
   }
 }