vistar-gulp-tasks
Commonly used gulp tasks
Last updated 5 years ago by mchadwick .
Original npm · Tarball · package.json
$ cnpm install vistar-gulp-tasks 
SYNC missed versions from official npm registry.

vistar-gulp-tasks

Tasks used in a buncha different projects. Assumes it's a project using Coffeescript, Less, React, Browserify, CJSX, Mocha; all the hits.

In your package.json

devDependencies: {
  "vistar-gulp-tasks": "git://github.com/vistarmedia/gulp-tasks.git"
}

In your gulpfile.coffee

require('vistar-gulp-tasks')()

can optionally pass ye olde project object.

project =
  dest:   './build/'
  src:    './app/**/*.coffee'
  static: './static/**'
  index:  './static/index.html'
  style:  './style/index.less'
  test:   './test/**/*_spec.coffee'
  browserify:
    paths: ['./app']

require('vistar-gulp-tasks')(project)

The default project object is:

project =
  dest:   './build/'
  src:    './app/**/*.coffee'
  static: './static/**'
  index:  './static/index.html'
  style:  './style/index.less'
  test:   './test/**/*_spec.coffee'
  browserify:
    debug:      not isProduction()
    entries:    ['./app/index.coffee']
    extensions: ['.coffee']
    transform:  ['coffee-reactify']

Current Tags

  • 1.0.6                                ...           latest (5 years ago)

1 Versions

  • 1.0.6                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (26)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |