Jesus sucks
This commit is contained in:
23
backend/frontend/node_modules/postcss-atroot/gulpfile.js
generated
vendored
Normal file
23
backend/frontend/node_modules/postcss-atroot/gulpfile.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
var gulp = require('gulp')
|
||||
|
||||
var files = ['index.js', 'test/*.js', 'gulpfile.js']
|
||||
|
||||
gulp.task('lint', function () {
|
||||
var eslint = require('gulp-eslint')
|
||||
return gulp.src(files)
|
||||
.pipe(eslint())
|
||||
.pipe(eslint.format())
|
||||
.pipe(eslint.failAfterError())
|
||||
})
|
||||
|
||||
gulp.task('test', function () {
|
||||
var mocha = require('gulp-mocha')
|
||||
return gulp.src('test/*.js', {read: false})
|
||||
.pipe(mocha())
|
||||
})
|
||||
|
||||
gulp.task('default', ['lint', 'test'])
|
||||
|
||||
gulp.task('watch', function () {
|
||||
gulp.watch(files, ['lint', 'test'])
|
||||
})
|
||||
Reference in New Issue
Block a user