diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-28 13:42:44 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-29 11:19:25 +0100 |
| commit | 0643532d5a5adeebf712fb7e0fecf5181baf8e77 (patch) | |
| tree | 73ab53e132a07c2e03b7d696d2d7d4264467ea76 /frontend/package.json | |
| parent | 93fa55749c40ed1f1a7bee9157bce81708988656 (diff) | |
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.
Diffstat (limited to 'frontend/package.json')
| -rw-r--r-- | frontend/package.json | 10 |
1 files changed, 3 insertions, 7 deletions
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" }, |
