0.3.0 • Published 8 years ago
gulp-cs-helper v0.3.0
gulp-cs-helper
A module for exploring how to setup a Coffeescript Gulp based workflow. Basically just a personal project to bundle up dependencies in an easy to use fashion.
Features
- Watch and compile Coffeescript and CJSX easily
- Watch and browserify with Watchify
- Extend gulp object with sane defaults
- Bundle up all necessary dependencies rather than tracking down Gulp docs on each new project (or copy pasting)
Usage
npm install gulp-cs-helper --save
# Gulpfile.coffee
gulp = require 'gulp'
require('gulp-cs-helper').help gulp,
src: '.src/**/*.@(coffee|cjsx)' # Coffee or CJSX files
dir: './lib/'
gulp.task 'build', gulp.coffee
gulp.task 'watch', ->
gulp.watchSrc, ['build']
Written in .litcoffee, so take a look with your favorite markdown editor to check out how it works
Release History
See CHANGELOG.md