wbyoung / avn

Automatic Version Switching for Node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update to ES2017 async/await

duckontheweb opened this issue · comments

Use babel to build from source files to take advantage of async and await functionality in new ES spec.

@duckontheweb if you want a reference point to work from, this other project I created has configuration for babel including some test setup and configuration.

Since you're using the airbnb eslint config, I'd also recommend https://npmjs.com/babel-preset-airbnb which it's designed to pair with.