Coder Social home page Coder Social logo

yang-wei / fly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lukeed/taskr

0.0 2.0 0.0 319 KB

:honeybee: New Generation Build System

Home Page: https://git.io/fly

License: MIT License

JavaScript 98.62% CoffeeScript 0.33% CSS 0.40% HTML 0.59% Groff 0.05%

fly's Introduction

New Generation Build System

npm package

About | Usage | Documentation | Plugins | Contributing


About

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.

Usage

Install

npm install fly

Flyfile

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 })
    .uglify()
    .concat("all.min.js")
    .target("dist")
}

Contributing

Contributions are absolutely welcome. Check out our contribution guide.

License

MIT © Jorge Bucaran et al ❤️

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.