pd-gulp-js
v0.3.4
Published
pd-gulp generator for js tasks
Downloads
6
Readme
#pd-gulp-js
pd-gulp task generator for javascript tasks.
##Install
npm install --save pd-gulp-js
##Example
var gulp = require('gulp');
var js = require('pd-gulp-js')(gulp);
// Register default tasks (default, watch, build, etc.)
js.register({
myLib:{
src: './src/js/*.js',
dest: './dist/js'
}
});
// Create custom gulp-task
gulp.task('customJs', js({
custom: {
src: './src/js/*.js',
dest: './dist/js'
}
}));
##Options
browserify
Configuration object for browserifyuglify
Configuration object for gulp-uglifywatch
True or path which will be observed.
##Todo
- support hinting/linting