babel-plugin-async-to-promises

v1.0.5
Transpile ES7 async/await to vanilla ES6 Promise chains
es 7 6 babel promise async await promises function and 4 more...

clean

rm -rf lib

build

babel src -d lib

test

npm run test:lint && npm run test:cov

test:cov

babel-node node_modules/.bin/babel-istanbul cover _mocha && babel-istanbul check-coverage --statements 100 --functions 100 --branches 100 --lines 100

test:js

mocha --compilers js:babel-register

test:lint

eslint src/*.js test/index.js && eslint test/fixtures/*/*.js

test:watch

npm run test:js -- --watch

prepublish

npm run clean && npm run build
npm i babel-plugin-async-to-promises

Metadata

  • ISC
  • Whatever
  • Marten de Vries
  • released 4/24/2016

Downloads

Maintainers