<commit_before>'use strict';

import gulp from 'gulp';
import babel from 'gulp-babel'
import util from 'gulp-util'
import mocha from 'gulp-mocha'
import flow from 'gulp-flowtype'
import sourcemaps from 'gulp-sourcemaps'
import del from 'del'

gulp.task('default', () => {
    return gulp.src('./src/js/**/*.js')
        .pipe(sourcemaps.init())
        .pipe(babel())
        .on('error', util.log)
        .pipe(gulp.dest('dist/'))
        .pipe(mocha({reporter: 'spec'}))
        .on('error', util.log);
});

gulp.task('flow', function() {
    return gulp.src('./src/js/**/*.js')
        .pipe(flow());
});

gulp.task('babel', function () {
    return gulp.src('./src/js/**/*.js')
        .pipe(babel());
});

gulp.task('test', ['babel'], () => {
    return gulp.src('./src/js/**/*.js')
        .pipe(mocha({reporter: 'spec'}))
        .on('error', util.log);
});

gulp.task('clean', function(){
    return del('dist/**', {force:true});
});<commit_msg>removed error reporting of pipe line stages<commit_after>'use strict';

import gulp from 'gulp';
import babel from 'gulp-babel'
import util from 'gulp-util'
import mocha from 'gulp-mocha'
import flow from 'gulp-flowtype'
import sourcemaps from 'gulp-sourcemaps'
import del from 'del'

gulp.task('default', () => {
    return gulp.src('./src/js/**/*.js')
        .pipe(sourcemaps.init())
        .pipe(babel())
        .pipe(gulp.dest('dist/'))
        .pipe(mocha({reporter: 'spec'}))
});

gulp.task('flow', function() {
    return gulp.src('./src/js/**/*.js')
        .pipe(flow());
});

gulp.task('babel', function () {
    return gulp.src('./src/js/**/*.js')
        .pipe(babel());
});

gulp.task('test', ['babel'], () => {
    return gulp.src('./src/js/**/*.js')
        .pipe(mocha({reporter: 'spec'}))
});

gulp.task('clean', function(){
    return del('dist/**', {force:true});
});
{'fraction_non_alphanumeric': 0.24036896364622898, 'fraction_numerical': 0.0, 'mean_word_length': 3.106904231625835, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1409367', 'n_tokens_mistral': 670, 'n_tokens_neox': 654, 'n_words': 130}