 
 coffee = require 'gulp-coffee'
 concat = require 'gulp-concat'
+
+source = require 'vinyl-source-stream'
+buffer = require 'vinyl-buffer'
+uglify = require 'gulp-uglify'
+sourcemaps = require 'gulp-sourcemaps'
+browserify = require 'browserify'
+
 del = require 'del'
 
 

  done?()


gulp.task 'browserify', ->
  gulp
    .src(DIST.SERVER.files())
    .pipe(concat DIST.CLIENT.file)
    .pipe(gulp.dest DIST.CLIENT.base)


gulp.task 'build', gulp.series('clean', 'coffee')

DIST =
  base: "dist"
  main: "dist/server/index.js"

  SERVER:
    base: 'dist/server'
