From 0643532d5a5adeebf712fb7e0fecf5181baf8e77 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 28 Oct 2020 13:42:44 +0100 Subject: Use built-in Sass support from Create React App This change updates the frontend to use the built-in Sass support provided by Create React App to simplify the development pipeline. --- frontend/package.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'frontend/package.json') diff --git a/frontend/package.json b/frontend/package.json index 1a3fc7cb..655d9457 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -24,8 +24,7 @@ "konva": "~6.0.0", "lint-staged": "~10.2.2", "mathjs": "~7.1.0", - "node-sass-chokidar": "~1.4.0", - "npm-run-all": "~4.1.2", + "node-sass": "^4.14.1", "prettier": "~2.0.5", "prop-types": "~15.7.2", "react": "~16.13.1", @@ -58,11 +57,8 @@ "scripts": { "format": "prettier --write src", "precommit": "lint-staged", - "build-css": "node-sass-chokidar src/ -o src/", - "watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive", - "start-js": "react-scripts start", - "start": "npm-run-all -p watch-css start-js", - "build": "npm run build-css && react-scripts build", + "start": "react-scripts start", + "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" }, -- cgit v1.2.3