New Generation Build System
About
|
Usage
|
Documentation
|
Plugins
|
Contributing
About
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.
Usage
Install
npm install fly
Flyfile
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")
}
Contributing
Contributions are absolutely welcome. Check out our contribution guide.
Roadmap ✈
- Proper tests.
- Configuration options.
- Optimize stream operations using CSP channels.
License
MIT © Jorge Bucaran et al