<commit_before>var gulp = require('gulp');
var ts = require('gulp-typescript');
var mocha = require('gulp-mocha');

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

gulp.task('build', ['buildSrc', 'buildTest']);

gulp.task('buildSrc', function() {
  return gulp.src("src/*.ts")
    .pipe(ts({
        module: "commonjs",
        target: "es5",
        removeComments: true
    })).pipe(gulp.dest('build/'));
});

gulp.task('buildTest', function() {
  return gulp.src("test/*.ts")
    .pipe(ts({
        module: "commonjs",
        target: "es5",
        removeComments: true
    })).pipe(gulp.dest('build/'));
});

gulp.task('test', ['buildTest'], function() {
   gulp.src('build/riotgamesapi-typenode-tests.js', {read: false}).pipe(mocha({})); 
});<commit_msg>Updating gulp build<commit_after>var gulp = require('gulp');
var ts = require('gulp-typescript');
var mocha = require('gulp-mocha');

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

gulp.task('build', ['buildSrc', 'buildTest']);

gulp.task('buildSrc', function() {
  return gulp.src("src/*.ts")
    .pipe(ts({
        module: "commonjs",
        target: "es6",
        removeComments: true
    })).pipe(gulp.dest('build/'));
});

gulp.task('buildTest', function() {
  return gulp.src("test/*.ts")
    .pipe(ts({
        module: "commonjs",
        target: "es6",
        removeComments: true
    })).pipe(gulp.dest('build/'));
});

gulp.task('test', ['buildTest'], function() {
   gulp.src('build/riotgamesapi-typenode-tests.js', {read: false}).pipe(mocha({})); 
});
{'fraction_non_alphanumeric': 0.2336448598130841, 'fraction_numerical': 0.0026702269692923898, 'mean_word_length': 3.7587301587301587, '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': '2424539', 'n_tokens_mistral': 545, 'n_tokens_neox': 532, 'n_words': 90}