Last active
May 7, 2017 19:23
-
-
Save lmosele/c75285b3898418e3dca8c493b9fa089b to your computer and use it in GitHub Desktop.
extremely simple config for basic sass projects
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
{ | |
"name": "project", | |
"main": "index.js", | |
"scripts": { | |
"build-css": "node-sass --include-path scss src/styles/main.scss dist/css/main.min.css", | |
"watch-css": "nodemon -e scss -x \"npm run build-css\" " | |
}, | |
"devDependencies": { | |
"node-sass": "^4.5.1", | |
"nodemon": "^1.11.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just create this file, run
npm install
and then runnpm run watch-css
on terminal. Just make sure you have a sass file to watch in src/styles/main.scss (or whatever you decide to change it to).