X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-cluster%2Fpackage.json;h=56c977bcc799373234854949951b4b9de2c30a2f;hb=9de51469b230ad69ee623e306a901ec6d6e1b86b;hp=88a177b7587ad4603b527ba50c5683e240b085be;hpb=f6186241747440b21caff5102d5b1f3bdf27ad23;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-cluster/package.json b/examples/typescript/http-server-pool/express-cluster/package.json index 88a177b7..56c977bc 100644 --- a/examples/typescript/http-server-pool/express-cluster/package.json +++ b/examples/typescript/http-server-pool/express-cluster/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"