refactor: cleanup examples package.json scripts
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 30 Aug 2023 20:18:52 +0000 (22:18 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 30 Aug 2023 20:18:52 +0000 (22:18 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
examples/typescript/websocket-server-pool/ws-cluster/package.json
examples/typescript/websocket-server-pool/ws-hybrid/package.json
examples/typescript/websocket-server-pool/ws-worker_threads/package.json

index f2d3d3c1d364214daca50473b1fa527b5e85e3fb..ab696d70ac4c9cdbea3d7beb1a7dc685fe98896d 100644 (file)
@@ -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": "",
index eeef179cb881362f0a26fec91dc5c7d86fc5045f..d4b71357bde3568f5ea4a90f2a616eac518a5b2e 100644 (file)
@@ -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": "",
index 510270a0507cd7b563e8631bfa9808e9a81b1994..6217f069da8d2f225edfc206b3da2e1e830ad6f4 100644 (file)
@@ -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": "",