Skip to content

Instantly share code, notes, and snippets.

@corysimmons
Created June 23, 2016 21:07
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save corysimmons/80e206aba0e807df2ef6f9ab5fd25300 to your computer and use it in GitHub Desktop.
Save corysimmons/80e206aba0e807df2ef6f9ab5fd25300 to your computer and use it in GitHub Desktop.
babel, sass, npm-run-all
{
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"node-sass": "^3.8.0",
"npm-run-all": "^2.2.2"
},
"babel": {
"presets": [
"es2015",
"stage-0"
]
},
"scripts": {
"dev": "npm-run-all -s sass:build -p babel sass:watch",
"babel": "babel -w src/js -d dist/js",
"sass:build": "node-sass src/css -o dist/css",
"sass:watch": "node-sass -w src/css -o dist/css"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment