<commit_before>var gulp = require('gulp');
var guppy = require('git-guppy')(gulp);
var babel = require('gulp-babel');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');

gulp.task('pre-commit', guppy.src('pre-commit', function () {
  return gulp.src('scripts/**/*.js')
    .pipe(babel({ presets: ['es2015'] }))
    .pipe(concat('bundle.js'))
    .pipe(uglify())
    .pipe(gulp.dest(''));
  }
));

gulp.task('default', function() {
  return gulp.src('scripts/**/*.js')
        .pipe(babel({presets: ['es2015']}))
        .pipe(concat('bundle.js'))
        .pipe(uglify())
        .pipe(gulp.dest(''));
});
<commit_msg>add pre-commit hooks for gulp<commit_after>var gulp = require('gulp');
var guppy = require('git-guppy')(gulp);
var babel = require('gulp-babel');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');

gulp.task('pre-commit', function () {
  return guppy.src('pre-commit', function () {
    return gulp.src('scripts/**/*.js')
      .pipe(babel({ presets: ['es2015'] }))
      .pipe(concat('bundle.js'))
      .pipe(uglify())
      .pipe(gulp.dest(''));
  });
});

gulp.task('default', function () {
  return gulp.src('scripts/**/*.js')
        .pipe(babel({presets: ['es2015']}))
        .pipe(concat('bundle.js'))
        .pipe(uglify())
        .pipe(gulp.dest(''));
});

{'fraction_non_alphanumeric': 0.24324324324324326, 'fraction_numerical': 0.012012012012012012, 'mean_word_length': 3.6445993031358883, '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': '3039418', 'n_tokens_mistral': 510, 'n_tokens_neox': 491, 'n_words': 76}