vistar-gulp-tasks

1.0.6 • Public • Published

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']

Readme

Keywords

none

Package Sidebar

Install

npm i vistar-gulp-tasks

Weekly Downloads

1

Version

1.0.6

License

none

Last publish

Collaborators

  • mchadwick