bier
the bier is gulp task runner framework.
Last updated 4 years ago by wan2land .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bier 
SYNC missed versions from official npm registry.

Wandu Bier

Latest Version Total Downloads

The Bier is gulp task runner framework.

Example

open gulpfile.js, and write this.

var bier = require('bier');

bier.config = {
    env: 'develop',
    build: {
        src_prefix: "frontend/",
        dist_prefix: "public/dist/",
    }
};

bier(function (will) {

    will.copy('bower_components/jquery/dist/*').to('jquery');

    will.sass('style/publ/**/*.scss').to('publ');
    will.sass(['style/admin/layout.scss', 'style/admin/login.scss']).to('admin/css');

	will.less('less/index.less').to('less');

    will.concat([
        'bower_components/bxslider-4/dist/jquery.bxslider.js',
        'bower_components/jquery.cookie/jquery.cookie.js',
        'script/main.js'
    ]).to('scripts', 'main.js');

    will.concat([
        'bower_components/bxslider-4/dist/jquery.bxslider.js',
        'bower_components/jquery.cookie/jquery.cookie.js',
        'script/main.js'
    ]).to('scripts'); // default file name is all.js

    will.browserify(['script/admin/**/*.js']).to('admin/js');
});

and, run command gulp in your sh.

If you want to watch all, just run gulp watch.

If you want minified output, just run gulp --env=production.

Support Tasks

  • copy
  • sass
  • scss (alias sass)
  • less
  • concat
  • browserify : support ecma script 2015

Run Test

$ npm test

Current Tags

  • 0.3.5                                ...           latest (4 years ago)

12 Versions

  • 0.3.5                                ...           4 years ago
  • 0.3.4                                ...           4 years ago
  • 0.3.3                                ...           4 years ago
  • 0.3.2                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.1                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (25)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |