Skip to content

Instantly share code, notes, and snippets.

@Banhawy
Created August 15, 2017 02:16
Show Gist options
  • Save Banhawy/6e08418cbc93900584c9dddb0eb38f40 to your computer and use it in GitHub Desktop.
Save Banhawy/6e08418cbc93900584c9dddb0eb38f40 to your computer and use it in GitHub Desktop.
Using create-react-app with SASS
{
"name": "activity-counter",
"version": "0.1.0",
"private": true,
"dependencies": {
"node-sass-chokidar": "0.0.3",
"npm-run-all": "^4.0.2",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-scripts": "1.0.11"
},
"scripts": {
"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",
"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