Skip to content

telecta/gulpzilla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulpzilla

Gulpzilla adds gulp [commands] to your gulp setup.

In packages, we have include:

Refer to each individual gulpzilla-[setup] package to see what it enables.

Install

$ npm install gulpzilla --save-dev   

Usage

Add this in your gulpfile.js:

var gulp = require('gulpzilla')({

	/* enable/disable debug mode for browserify */
	debug: process.env.NODE_ENV !== 'production',

	/* `browserify` configuration  
	browserify: {
        srcDir: './src/js', // javascript source directory
        target: './src/js/index.js', // entry point for browserify

        distDir: './public/js', // directory for bundled javascript
        distFilename: 'bundle.js' // filename for bundled javascript
    }
    
    /* more configuration for additional setup: gulpzilla-[setup] */
});

Run the gulp setup:

$ gulp browserify