gulp-closure-compiler 
Minify JavaScript with Closure Compiler
Issues with the output or Java should be reported on the Closure Compiler issue tracker.
Install with npm
npm install --save-dev gulp-closure-compiler
var gulp = require('gulp');
var closureCompiler = require('gulp-closure-compiler');
gulp.task('default', function () {
gulp.src('src/*.js')
.pipe(closureCompiler())
.pipe(gulp.dest('dist'));
});
See the Closure Compiler options.
MIT © Sindre Sorhus