Initial commit

This commit is contained in:
2018-03-02 03:00:51 -05:00
commit 834c66b216
21 changed files with 3365 additions and 0 deletions

21
gulpfile.js Normal file
View File

@@ -0,0 +1,21 @@
const gulp = require('gulp');
const mocha = require('gulp-mocha');
const nodemon = require('gulp-nodemon');
gulp.task('default', () => {
nodemon({
script: './bin/www',
ext: 'js',
tasks: ['mocha'],
env: { 'NODE_ENV': 'development' }
})
});
gulp.task('mocha', () => {
gulp.src(process.cwd() + '/tests/index.js', {read: false})
.pipe(
mocha({
reporter: 'nyan'
})
);
});