New Generation Build System
About | Usage | Documentation | Plugins | Contributing
Fly is a build system for Node based in co-routines, generators and promises that aims to be simple and elegant to write.
See the Documentation page to learn more about how to use Fly and write your own plugins.
npm install fly
Flyfiles can be written in ES5/6/7 or other JavaScript variants.
const paths = {
scripts: ["src/**/*.js", "!src/ignore/**/*.js"]
}
export function* main () {
yield this.clear("build")
this.watch([paths.scripts], ["scripts"])
}
export function* scripts () {
yield this
.source(paths.scripts)
.babel({/*...*/})
.uglify({/*...*/})
.concat("all.min.js")
.target("build/js")
}
Contributions are absolutely welcome. Check out our contribution guide.
- Proper tests.
- Configuration options.
- Optimize stream operations using CSP channels.
MIT © Jorge Bucaran et al