@@ -0,0 +1,857 @@
+'use strict'%0A%0Aconst %7B readFileSync %7D = require('fs')%0Aconst %7B chdir, cwd %7D = require('process')%0A%0Aconst transformFileSync = require('babel-core').transformFileSync%0Aconst transform = require('buble').transform%0Aconst babelPlugin = require('babel-plugin-transform-es2015-modules-commonjs')%0A%0Aconst CWD = cwd()%0A%0Aconst babelOpts = %7B%0A  plugins: %5B babelPlugin %5D%0A%7D%0A%0Aconst bubleOpts = %7B%0A  transforms: %7B%0A    dangerousForOf: true,%0A    generator: false%0A  %7D%0A%7D%0A%0Aconst transformFile = function (filename, options = %7B%7D) %7B%0A%0A  const babelOptions = options.babel ? Object.assign(%7B%7D, babelOpts, options.babel) : babelOpts%0A  const bubleOptions = options.buble ? Objectc.assign(%7B%7D, bubleOptions, options.buble) : bubleOpts%0A%0A  const %7B code: babelCode %7D = transformFileSync(filename, babelOptions)%0A%0A  return transform(babelCode, bubleOptions)%0A%7D%0A%0A%0Amodule.exports = %7B%0A  transformFile,%0A%7D

add API for tranforming files