gulp-tam

0.0.2 • Public • Published

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');

Readme

Keywords

Package Sidebar

Install

npm i gulp-tam

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • arrowrowe