Socket
Socket
Sign inDemoInstall

gulpzilla

Package Overview
Dependencies
448
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

18

gulp/browserify.js

@@ -6,6 +6,10 @@ var sequence = require('run-sequence');

var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var babelify = require('babelify');
var watchify = require('watchify');
var row_flow = require('browserify-row-flow');
var util = require('gulp-util');
var uglify = require('gulp-uglify');

@@ -30,5 +34,13 @@ module.exports = function(gulp, opts){

function rebundle(){
return b.bundle()
.pipe(source(config.js.distFilename || 'bundle.js'))
.pipe(gulp.dest(config.js.distDir));
if(config.debug){
return b.bundle()
.pipe(source(config.js.distFilename || 'bundle.js'))
.pipe(gulp.dest(config.js.distDir));
}else{
return b.bundle()
.pipe(source(config.js.distFilename || 'bundle.js'))
.pipe(buffer())
.pipe(uglify())
.pipe(gulp.dest(config.js.distDir));
}
}

@@ -35,0 +47,0 @@

15

package.json
{
"name": "gulpzilla",
"version": "2.0.1",
"version": "2.0.2",
"description": "common gulp tasks to shaaaare",

@@ -28,12 +28,13 @@ "main": "index.js",

"browserify-row-flow": "^0.1.0",
"watchify": "^3.7.0",
"cli-color": "^1.1.0",
"gulp": "^3.9.1",
"gulp-uglify": "^1.5.3",
"gulp-util": "^3.0.7",
"vinyl-source-stream": "^1.0.0",
"yargs": "^4.7.1",
"invariant": "^2.2.1",
"object-assign": "^4.1.0",
"cli-color": "^1.1.0",
"run-sequence": "^1.2.1"
"run-sequence": "^1.2.1",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.0.0",
"watchify": "^3.7.0",
"yargs": "^4.7.1"
},

@@ -40,0 +41,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc