Skip to content

Instantly share code, notes, and snippets.

@kyuumeitai
Forked from corysimmons/package.json
Created March 21, 2017 22:02
Show Gist options
  • Save kyuumeitai/bdf1f77d51fefbdfab6fbece38f63518 to your computer and use it in GitHub Desktop.
Save kyuumeitai/bdf1f77d51fefbdfab6fbece38f63518 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