X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-hybrid%2Fpackage.json;h=f37384a428a13a46e28bd75fa9168a6693804b46;hb=2b6c61ecf5621c17b7c5f6d01b9149eaba4c21a2;hp=7863d1ca9e8ba5e05c754444f634c1d0e39dc33c;hpb=2041f3d8b2564bfab8e30db6a87dba283219ca86;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-hybrid/package.json b/examples/typescript/http-server-pool/express-hybrid/package.json index 7863d1ca..f37384a4 100644 --- a/examples/typescript/http-server-pool/express-hybrid/package.json +++ b/examples/typescript/http-server-pool/express-hybrid/package.json @@ -12,7 +12,7 @@ "scripts": { "build": "rollup --config", "start": "node dist/main.cjs", - "start:esm": "node dist/main.mjs", + "start:esm": "node dist/main.js", "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"