Last active
May 23, 2019 09:14
-
-
Save vukasin-nikodijevic/844b904ddbd71f217d28137043bec0a3 to your computer and use it in GitHub Desktop.
SassC + live rebuild for create-react-app
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": { | |
"start": "npm run build-css & npm run watch-scss & npm run start:dev-server", | |
"start:dev-server": "NODE_PATH=src react-scripts start", | |
"build": "NODE_PATH=src react-scripts build", | |
"test": "NODE_PATH=src react-scripts test --env=jsdom", | |
"build-css": "sassc -I ./src ./src/index.scss ./src/index.css", | |
"watch-scss": "nodemon -e scss -x \"npm run build-css\"" | |
} | |
. | |
. | |
. | |
. | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment