<commit_before>'use strict';

var gulp = require('gulp');
var rename = require('gulp-rename');
var typescript = require('gulp-typescript');
var uglify = require('gulp-uglify');

gulp.task('default',

  function() {

    gulp.src('modules/mist.ts')
      .pipe(
        typescript({
          out: 'mist.js',
          target: 'ES5'
        })
      )
      .pipe(
        gulp.dest(
          ''
        )
      )
      .pipe(
        uglify({
          preserveComments: 'license'
        })
      )
      .pipe(
        rename({
          extname: '.min.js'
        })
      )
      .pipe(
        gulp.dest(
          ''
        )
      );
  });<commit_msg>Refactor.<commit_after>'use strict';

// globals modules.

var gulp = require('gulp');
var rename = require('gulp-rename');
var typescript = require('gulp-typescript');
var uglify = require('gulp-uglify');

// globals consts.

var DIST_DIR = '';
var DIST_MIN_EXT = '.min.js';
var DIST_NAME = 'mist.js';
var NAME = 'modules/mist.ts';

gulp.task('default',

  function() {

    gulp.src(NAME)
      .pipe(
        typescript({
          out: DIST_NAME,
          target: 'ES5'
        })
      )
      .pipe(
        gulp.dest(
          DIST_DIR
        )
      )
      .pipe(
        uglify({
          preserveComments: 'license'
        })
      )
      .pipe(
        rename({
          extname: DIST_MIN_EXT
        })
      )
      .pipe(
        gulp.dest(
          DIST_DIR
        )
      );
  });
{'fraction_non_alphanumeric': 0.15211459754433834, 'fraction_numerical': 0.001364256480218281, 'mean_word_length': 1.4655462184873949, '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': '6218110', 'n_tokens_mistral': 513, 'n_tokens_neox': 494, 'n_words': 87}