fly

New Generation Build System

About | Usage | Documentation | Plugins | Contributing


New Generation Build System

Fly is a build system for Node based in ES6 generators and promises that aims to be simple and elegant to write and extend.

See the Documentation page to learn more.

npm install fly
const paths = {
  scripts: ["src/**/*.js", "!src/ignore/**/*.js"]
}
 
exports.default = function* () {
  yield this.tasks.clean()
  yield this.tasks.scripts()
  yield this.watch([paths.scripts])
}
 
exports.clear = function* () {
  yield this.clear("build")
}
 
exports.scripts = function* () {
  yield this
    .source(paths.scripts)
    .babel({/* options */})
    .uglify({/* options */})
    .concat("all.min.js")
    .target("build/js")
}

Contributing

Contributions are absolutely welcome. Check out our contribution guide.

Roadmap ✈

  • Proper tests.
  • Configuration options (disable plugin auto-loading, etc.)

License

MIT © Jorge Bucaran et al