From 608bfe90d74f41ea6290c07adefc684600f682f1 Mon Sep 17 00:00:00 2001 From: Guy Lepage Date: Sun, 26 Aug 2018 18:57:28 -0400 Subject: [PATCH] added new start and build scripts #25 Signed-off-by: Guy Lepage --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 64efd1a..b01cf92 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,10 @@ "scripts": { "build-css": "node-sass-chokidar src/ -o src/ --output-style compressed", "watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --output-style compressed --watch --recursive", - "start": "react-scripts start", - "build": "react-scripts build", + "start-js": "react-scripts start", + "start": "npm-run-all -p watch-css start-js", + "build-js": "react-scripts build", + "build": "npm-run-all build-css build-js", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" },