Minify javascript files with JSCrush
npm install --save-dev gulp-jscrush
var gulp = require('gulp');
var jscrush = require('gulp-jscrush');
gulp.task('default', function(){
gulp.src('./test.js')
.pipe(jscrush())
.pipe(gulp.dest('./build'));
})