0.0.2 • Published 8 years ago

gulp-tam v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

GulpTam

Gulp integration for Tam.

Install

npm i --save-dev gulp-tam

Note that you still need to install Tam.

Usage

var gulp = require('gulp');
var tam = require('tam');
var gulpTam = require('gulp-tam')(gulp, tam)('./assets.json');

gulp.task('clean', gulpTam.clean);  // Remove the dist directory
gulp.task('build', gulpTam.build);  // Generate dist and the linked list
gulp.task('watch', gulpTam.watch);  // Watch the src directory and the assets

// You can have two gulpTam for frontstage and backstage!
var GulpTam = require('gulp-tam')(gulp, tam);
var gulpTamFrontStage = GulpTam('./assets-frontstage.json');
var gulpTamBackStage = GulpTam('./assets-backstage.json');