Example #1
0
var angularJs = function () {
    return gulp.src('<%= paths.src %>/**/*.js')
        .pipe(gulp.jshint(config.jshint.jshintrc))
        .pipe(gulp.jshint.reporter(config.jshint.reporters.dev))
        .pipe(gulp.replace('\'use strict\';', ''))
        .pipe(gulp.sourcemaps.init())
        .pipe(_concatenateAndUglify(config.pkg.name));
};
Example #2
0
 return function () {
     return gulp.src(src)
         .pipe(gulp.jshint())
         .pipe(gulp.jshint.reporter(config.jshint.reporters[env || 'dev']));
 };