<commit_before>"use strict";

var gulp = require('gulp'),
  	gutil = require('gulp-util'),
  	plumber = require('gulp-plumber'),
    jshint = require('gulp-jshint'),
    sh = require('shelljs'),
    shell = require('gulp-shell'),
    concat = require('gulp-concat'),
    uglify  = require('gulp-uglify'),
    pkg = require('./package.json')
;

gulp.task('default', ['lint', 'build']);

var onError = function(error){
  	gutil.beep();
  	console.log(error);
};

gulp.task('build', function(){
    gulp.src([
        'src/f.js', 
        'src/ext.util.js',
        'src/dispatcher.js',
        'src/injector.js',
        'src/core.js',
        'src/sandbox.js',
        'src/store.js',
        'src/extension.js',
        'src/module.js',
        'src/router.js',
        'src/ext.http.js',
        'src/ext.dom.js',
        'src/ext.storage.js',
    ])
    .pipe(concat('f.js'))
    .pipe(gulp.dest('dist/'));
});

gulp.task('build-min', function(){
    gulp.src([
        'src/f.js', 
        'src/ext.util.js',
        'src/core.js',
        'src/dispatcher.js',
        'src/sandbox.js',
        'src/store.js',
        'src/module.js',
        'src/router.js',
        'src/ext.http.js',
        'src/ext.dom.js',
        'src/ext.storage.js',
    ])
    .pipe(uglify({preserveComments: 'some'}))
    .pipe(concat('f.min.js'))
    .pipe(gulp.dest('dist/'));
});

gulp.task('watch', function(){
	gulp.watch('src/**/*.*', ['default']);
});

gulp.task('lint', function(){
    return gulp.src('./src/**/*.js')
        .pipe(jshint())
        .pipe(jshint.reporter('default'));<commit_msg>update gulp with changes in paths<commit_after>"use strict";

var gulp = require('gulp'),
  	gutil = require('gulp-util'),
  	plumber = require('gulp-plumber'),
    jshint = require('gulp-jshint'),
    sh = require('shelljs'),
    shell = require('gulp-shell'),
    concat = require('gulp-concat'),
    uglify  = require('gulp-uglify'),
    pkg = require('./package.json')
;

gulp.task('default', ['lint', 'build']);

var onError = function(error){
  	gutil.beep();
  	console.log(error);
};

gulp.task('build', function(){
    gulp.src([
        'src/f.js', 
        'src/lib/dispatcher.js',
        'src/lib/injector.js',
        'src/core.js',
        'src/sandbox.js',
        'src/store.js',
        'src/extension.js',
        'src/module.js',
        'src/router.js'
    ])
    .pipe(concat('f.js'))
    .pipe(gulp.dest('dist/'));
});

gulp.task('build-min', function(){
    gulp.src([
        'src/f.js', 
        'src/dispatcher.js',
        'src/injector.js',
        'src/core.js',
        'src/sandbox.js',
        'src/store.js',
        'src/extension.js',
        'src/module.js',
        'src/router.js'
    ])
    .pipe(uglify({preserveComments: 'some'}))
    .pipe(concat('f.min.js'))
    .pipe(gulp.dest('dist/'));
});

gulp.task('watch', function(){
	gulp.watch('src/**/*.*', ['default']);
});

gulp.task('lint', function(){
    return gulp.src('./src/**/*.js')
        .pipe(jshint())
        .pipe(jshint.reporter('default'));
{'fraction_non_alphanumeric': 0.23064250411861614, 'fraction_numerical': 0.0, 'mean_word_length': 2.3509933774834435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2581333', 'n_tokens_mistral': 1148, 'n_tokens_neox': 1131, 'n_words': 148}