From b0e623de6c51ed238575fb344f53a804f6958428 Mon Sep 17 00:00:00 2001 From: Haydn Ewers <27211+haydn@users.noreply.github.com> Date: Fri, 12 Jul 2019 11:01:14 +1000 Subject: [PATCH] Add root level build and test scripts --- package.json | 3 ++- ulm-playground/package.json | 3 ++- ulm-spec/package.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5ebd518..6d05c9d 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "private": true, "workspaces": ["ulm-spec", "ulm-js", "ulm-playground"], "scripts": { - "build": "yarn workspace ulm-spec run build" + "build": "yarn workspaces run build", + "test": "yarn workspaces run test" } } diff --git a/ulm-playground/package.json b/ulm-playground/package.json index 204af95..aa659cf 100644 --- a/ulm-playground/package.json +++ b/ulm-playground/package.json @@ -16,7 +16,8 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test", + "test": "react-scripts test --watchAll=false", + "test:watch": "react-scripts test", "eject": "react-scripts eject", "now-build": "react-scripts build" }, diff --git a/ulm-spec/package.json b/ulm-spec/package.json index 1ee395d..0f9b2d5 100644 --- a/ulm-spec/package.json +++ b/ulm-spec/package.json @@ -3,7 +3,8 @@ "version": "0.0.0", "license": "MIT", "scripts": { - "build": "(rm -r ./build &>/dev/null || true) && mkdir ./build && spec-md ./README.md > ./build/index.html" + "build": "(rm -r ./build &>/dev/null || true) && mkdir ./build && spec-md ./README.md > ./build/index.html", + "test": "exit 0" }, "devDependencies": { "spec-md": "^0.6.0" -- 2.51.2