Created
November 13, 2015 10:48
-
-
Save thefoxis/60391fb8951634ea952f to your computer and use it in GitHub Desktop.
A simple front-end dev setup.
This file contains hidden or 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": { | |
"browsersync": "browser-sync start --server --port 8000 --files 'styl/*, *.html'", | |
"clean": "rm -rf css/main.css", | |
"css": "stylus -u autoprefixer-stylus -c styl --out css", | |
"minify": "cleancss -o css/main.min.css css/main.css", | |
"build": "npm run css && npm run minify && npm run clean", | |
"watch": "watch 'npm run build' styl" | |
}, | |
"devDependencies": { | |
"autoprefixer-stylus": "latest", | |
"browser-sync": "latest", | |
"clean-css": "latest", | |
"watch": "latest" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment