Skip to content

Instantly share code, notes, and snippets.

@janneh
Created June 10, 2016 09:24
Show Gist options
  • Save janneh/f4022e15c65cd4aa74c1c58c0ce049e8 to your computer and use it in GitHub Desktop.
Save janneh/f4022e15c65cd4aa74c1c58c0ce049e8 to your computer and use it in GitHub Desktop.
Node with async await using babel-node
{
"babel": {
"plugins": [
"transform-es2015-modules-commonjs",
"syntax-async-functions",
"transform-async-to-generator"
]
},
"devDependencies": {
"babel-plugin-transform-es2015-modules-commonjs": "6.8.0",
"babel-plugin-transform-async-to-generator": "6.8.0",
"babel-cli": "6.8.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment