Created
January 20, 2016 20:13
-
-
Save subfuzion/511810d69cdf24fa6af4 to your computer and use it in GitHub Desktop.
Babel configuration
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
Show hidden characters
{ | |
"presets": ["es2015"], | |
"plugins": ["syntax-async-functions","transform-regenerator"] | |
} |
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
require('babel-polyfill'); |
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": "node-app", | |
"version": "1.0.0", | |
"scripts": { | |
"watch": "babel --watch src -d dist --source-maps", | |
}, | |
"dependencies": { | |
"babel-polyfill": "^6.3.14" | |
}, | |
"devDependencies": { | |
"babel": "^6.3.26", | |
"babel-cli": "^6.4.5", | |
"babel-plugin-syntax-async-functions": "^6.3.13", | |
"babel-preset-es2015": "^6.3.13", | |
"babel-runtime": "^6.3.19" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment