<commit_before><commit_msg>create gulpfile.js to manage transpiling of ES6 to ES5<commit_after>var gulp = require("gulp");
var babelify = require("babelify");
var browserify = require("browserify");
var vinylSourceStream = require("vinyl-source-stream");
var vinylBuffer = require("vinyl-buffer");

gulp.task("default", function() {

});
gulp.task("script", function() {
	var sources = browserify({
		entries: "./src/js/inverted-index.js",
		debug: true
  })
  .transform(babelify.configure({
		presets: ["es2015"]
	}));

  return sources.bundle()
    .pipe(vinylSourceStream('app.min.js'))
    .pipe(vinylBuffer())
    .pipe(gulp.dest('./build/js/'));
});
{'fraction_non_alphanumeric': 0.18597560975609756, 'fraction_numerical': 0.009146341463414634, 'mean_word_length': 5.083333333333333, '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': '3974023', 'n_tokens_mistral': 230, 'n_tokens_neox': 214, 'n_words': 42}