var browserify = require('browserify');
var gulp = require('gulp');
var source = require('vinyl-source-stream');

gulp.task('build-scripts', function() {
  return browserify('./app/js/index.js')
    .bundle()
    //Pass desired output filename to vinyl-source-stream
    .pipe(source('index.js'))
    .pipe(gulp.dest('./www/'));
});

@@ -105,16 +105,228 @@
 tream');
+%0Avar del = require('del');%0A%0Agulp.task('clean', function () %7B%0A  return del.sync(%5B'www'%5D);%0A%7D);%0A%0Agulp.task('copy', function () %7B%0A  return gulp.src(%5B'app/index.html'%5D, %7Bbase: 'app/'%7D)%0A    .pipe(gulp.dest('www'));%0A%7D);
 %0A%0Agulp.t
@@ -530,16 +530,72 @@
 './www/'));%0A%7D);%0A
+%0Agulp.task('build', %5B'clean', 'copy', 'build-scripts'%5D)%0A

build tasks