gm

gulp-macros

sweetjs macros for gulp

Showing:

Popularity

Downloads/wk

0

GitHub Stars

3

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

gulp-macros

sweetjs macros for gulp

Installation

npm install sweet.js gulp-macros -g npm install gulp-macros --save-dev

Usage

Create file gulpfile.sjs

Example

var gulp = require('gulp');
var coffee = require('gulp-coffee');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var sourcemaps = require('gulp-sourcemaps');

task 'scripts' {
  @ ['js/**/*.coffee', '!client/external/**/*.coffee'];
    | sourcemaps.init();
    | coffee();
    | uglify();
    | concat('all.min.js');
    | sourcemaps.write();
      > 'build/js';
}

task 'watch' {
  watch '**/*.coffee', ['scripts'];
}

task 'default' ['watch', 'scripts'] { }

CLI

$ gulps [task]
$ gulps watch
$ gulps scripts
$ gulps

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial