From: Jérôme Benoit Date: Wed, 30 Aug 2023 20:18:52 +0000 (+0200) Subject: refactor: cleanup examples package.json scripts X-Git-Tag: v2.6.40~24 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f57c8bae4b46481787a06e2e7df941619949afb3;p=poolifier.git refactor: cleanup examples package.json scripts Signed-off-by: Jérôme Benoit --- diff --git a/examples/typescript/websocket-server-pool/ws-cluster/package.json b/examples/typescript/websocket-server-pool/ws-cluster/package.json index f2d3d3c1..ab696d70 100644 --- a/examples/typescript/websocket-server-pool/ws-cluster/package.json +++ b/examples/typescript/websocket-server-pool/ws-cluster/package.json @@ -13,7 +13,8 @@ "build": "rollup --config", "start": "node dist/main.cjs", "start:esm": "node dist/main.js", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "test:requests": "node requests.js" }, "keywords": [], "author": "", diff --git a/examples/typescript/websocket-server-pool/ws-hybrid/package.json b/examples/typescript/websocket-server-pool/ws-hybrid/package.json index eeef179c..d4b71357 100644 --- a/examples/typescript/websocket-server-pool/ws-hybrid/package.json +++ b/examples/typescript/websocket-server-pool/ws-hybrid/package.json @@ -13,7 +13,8 @@ "build": "rollup --config", "start": "node dist/main.cjs", "start:esm": "node dist/main.js", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "test:requests": "node requests.js" }, "keywords": [], "author": "", diff --git a/examples/typescript/websocket-server-pool/ws-worker_threads/package.json b/examples/typescript/websocket-server-pool/ws-worker_threads/package.json index 510270a0..6217f069 100644 --- a/examples/typescript/websocket-server-pool/ws-worker_threads/package.json +++ b/examples/typescript/websocket-server-pool/ws-worker_threads/package.json @@ -13,7 +13,8 @@ "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", + "test:requests": "node requests.js" }, "keywords": [], "author": "",