const paths = {
  src: "src/**/*.js",
  dist: "dist"
}

export default function* () {
  yield this
    .source(paths.src).eslint()

  yield this.clear(paths.dist)
  yield this.log("Building Fly...")
    .source(paths.src)
    .babel({
      presets: ["es2015", "stage-0"]
    })
    .target(paths.dist)
}

var x = module.exports;
var paths = {
	src: 'src/**/*.js',
	dist: 'dist'
};

x.default = function * () {
	yield this.source(paths.src).xo();
	yield this.clear(paths.dist);
	yield this.log('Building Fly...')
		.source(paths.src)
		.babel({
			presets: ['es2015', 'stage-0']
		})
		.target(paths.dist);
};

rewrite base flyfile