Skip to content

Instantly share code, notes, and snippets.

@diomededavid
Created February 4, 2018 07:15
Show Gist options
  • Select an option

  • Save diomededavid/aa14d1a6a8975a27c30deed89224995e to your computer and use it in GitHub Desktop.

Select an option

Save diomededavid/aa14d1a6a8975a27c30deed89224995e to your computer and use it in GitHub Desktop.
Create react app with sass configuration
{
"name": "popular-discussions-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"node-sass-chokidar": "^0.0.3",
"npm-run-all": "^4.1.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "1.1.0",
"react-slick": "^0.17.1"
},
"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