pd-gulp-js
pd-gulp generator for js tasks
Last updated 5 years ago by platdesign .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pd-gulp-js 
SYNC missed versions from official npm registry.

#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 browserify
  • uglify Configuration object for gulp-uglify
  • watch True or path which will be observed.

##Todo

  • support hinting/linting

Current Tags

  • 0.3.4                                ...           latest (5 years ago)

8 Versions

  • 0.3.4                                ...           5 years ago
  • 0.3.2                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (19)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |