wbyoung / avn

Automatic Version Switching for Node
MIT License
1.14k stars 54 forks source link

Update to ES2017 async/await #68

Open duckontheweb opened 6 years ago

duckontheweb commented 6 years ago

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

wbyoung commented 6 years ago

@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.

ljharb commented 6 years ago

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.