Created
August 31, 2018 14:19
-
-
Save productioncoder/759ba3ebdc6e9dc46b46802d0689dc1f to your computer and use it in GitHub Desktop.
Update package.json to support SCSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/", | |
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive", | |
"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" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment