<commit_before>var gulp = require('gulp');

var runSequence = require('run-sequence');

var gulpUtils = require('@anyware/gulp-utils');

MINIMUM_CODE_COVERAGE = 90;

// Create shared tasks
require('@anyware/gulp-utils/tasks/test-task')(
  gulp,
  'test', // taskName
  'src/**/*.js', // filesToCover
  'test/**/*-test.js', // testFiles
  process.env.TRAVIS ? 'spec' : 'nyan', // reporter
  MINIMUM_CODE_COVERAGE // minimumCodeCoverage
);
require('@anyware/gulp-utils/tasks/submit-coverage-task')(
  gulp,
  'submit-coverage' // taskName
);
require('@anyware/gulp-utils/tasks/lint-task')(
  gulp,
  'lint', // taskName
  ["src/**/*.js", "test/**/*.js"] // files
);
require('@anyware/gulp-utils/tasks/transpile-task')(
  gulp,
  'build', // taskName
  'src/**/*.js', // targetFiles
  'dist' // destinationDirectory
);

gulp.task('default', function(callback) {
  return runSequence('lint', 'test', 'build', callback);
});
<commit_msg>Excluded index.js from coverage<commit_after>var gulp = require('gulp');

var runSequence = require('run-sequence');

var gulpUtils = require('@anyware/gulp-utils');

MINIMUM_CODE_COVERAGE = 90;

// Create shared tasks
require('@anyware/gulp-utils/tasks/test-task')(
  gulp,
  'test', // taskName
  ['src/**/*.js', '!src/index.js'], // filesToCover
  'test/**/*-test.js', // testFiles
  process.env.TRAVIS ? 'spec' : 'nyan', // reporter
  MINIMUM_CODE_COVERAGE // minimumCodeCoverage
);
require('@anyware/gulp-utils/tasks/submit-coverage-task')(
  gulp,
  'submit-coverage' // taskName
);
require('@anyware/gulp-utils/tasks/lint-task')(
  gulp,
  'lint', // taskName
  ["src/**/*.js", "test/**/*.js"] // files
);
require('@anyware/gulp-utils/tasks/transpile-task')(
  gulp,
  'build', // taskName
  'src/**/*.js', // targetFiles
  'dist' // destinationDirectory
);

gulp.task('default', function(callback) {
  return runSequence('lint', 'test', 'build', callback);
});

{'fraction_non_alphanumeric': 0.21620199894792214, 'fraction_numerical': 0.0021041557075223566, 'mean_word_length': 4.0855614973262036, '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': '4504565', 'n_tokens_mistral': 713, 'n_tokens_neox': 704, 'n_words': 112}