fly

Modern Build System

New Generation Build System


About | Usage | Documentation | Plugins | Contributing


Fly is a modern build system for Node based in co-routines, generators and promises.

Fly has callback heaven, concurrent tasks, robust error handling, cascading tasks and a simple API.

See the documentation to learn more about Fly.

npm install fly

Flyfiles can be written in ES5/6/7 and other variants.

const paths = {
  scripts: ["src/**/*.js", "!src/ignore/**/*.js"]
}
 
export default function* () {
  yield this.watch(paths.scripts, "build")
}
 
export function* build () {
  yield this.clear("dist")
  yield this
    .source(paths.scripts)
    .babel({ stage: 0, sourceMap: true })
    .uglify()
    .concat("app.js")
    .target("dist")
}

Contributing

Contributions are absolutely welcome. Check out our contribution guide.

License

MIT © Jorge Bucaran et al :heart: