From b8e7079b67a4b1783a6b8215c8fe1f118a4de405 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Mon, 2 Aug 2021 14:12:39 +1000 Subject: [PATCH] Run tests in parallel React build is quite long so best to run other linters in parallel. --- examples/eth-dm/package.json | 2 +- examples/web-chat/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/eth-dm/package.json b/examples/eth-dm/package.json index 405f819d9d..bf99fff6cc 100644 --- a/examples/eth-dm/package.json +++ b/examples/eth-dm/package.json @@ -28,7 +28,7 @@ "build:react": "react-scripts build", "eject": "react-scripts eject", "fix": "run-s fix:*", - "test": "run-s build test:*", + "test": "npm-run-all build --parallel test:*", "test:lint": "eslint src --ext .ts --ext .tsx", "test:prettier": "prettier \"src/**/*.{ts,tsx}\" \"./*.json\" --list-different", "test:spelling": "cspell \"{README.md,src/**/*.{ts,tsx},public/**/*.html}\" -c ../../.cspell.json", diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index 180eb49ea1..c657513661 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -32,7 +32,7 @@ "test:unit": "react-scripts test", "eject": "react-scripts eject", "fix": "run-s fix:*", - "test": "run-s build test:*", + "test": "npm-run-all build --parallel test:*", "test:lint": "eslint src --ext .ts --ext .tsx", "test:prettier": "prettier \"src/**/*.{ts,tsx}\" \"./*.json\" --list-different", "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.{ts,tsx},public/**/*.html}\" -c ../../.cspell.json",