mirror of https://github.com/akveo/blur-admin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
406 B
18 lines
406 B
9 years ago
|
'use strict';
|
||
|
|
||
|
var path = require('path');
|
||
|
var gulp = require('gulp');
|
||
|
var conf = require('./conf');
|
||
|
|
||
|
var browserSync = require('browser-sync');
|
||
|
|
||
|
var $ = require('gulp-load-plugins')();
|
||
|
|
||
|
gulp.task('scripts', function () {
|
||
|
return gulp.src(path.join(conf.paths.src, '/app/**/*.js'))
|
||
|
.pipe($.eslint())
|
||
|
.pipe($.eslint.format())
|
||
|
.pipe(browserSync.reload({ stream: true }))
|
||
|
.pipe($.size())
|
||
|
});
|