<commit_before>/*jshint node: true*/
module.exports = function(grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    regenerator: {
        options: {
            includeRuntime: true
        },
        dist: {
            files: {
                'es5/<%= pkg.name %>.js': 'lib/<%= pkg.name %>.js'
            }
        }
    },
    mochaTest: {
      test: {
        options: {
          reporter: 'spec',
          quiet: false
        },
        src: ['test/*.mocha.js']
      }
    },
    jshint: {
      files: ['Gruntfile.js', 'lib/**/*.js'],
      options: {
        // options here to override JSHint defaults
        globals: {
          node: true,
          console: true,
          module: true
        }
      }
    },
    watch: {
      files: ['<%= jshint.files %>'],
      tasks: ['jshint', 'mochaTest']
    }
  });

  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-mocha-test');
  grunt.loadNpmTasks('grunt-regenerator');

  grunt.registerTask('test', ['jshint', 'mochaTest']);
  grunt.registerTask('default', ['jshint', 'regenerator', 'mochaTest']);

};<commit_msg>first task lint<commit_after>/*jshint node: true*/
module.exports = function(grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    jshint: {
      files: ['Gruntfile.js', 'lib/*.js', 'test/*.js'],
      options: {
        // options here to override JSHint defaults
        globals: {
          node: true,
          console: true,
          module: true
        }
      }
    },
    regenerator: {
        options: {
            includeRuntime: true
        },
        dist: {
            files: {
                'es5/<%= pkg.name %>.js': 'lib/<%= pkg.name %>.js'
            }
        }
    },
    mochaTest: {
      test: {
        options: {
          reporter: 'spec',
          quiet: false
        },
        src: ['test/*.mocha.js']
      }
    },
    watch: {
      files: ['<%= jshint.files %>'],
      tasks: ['jshint', 'mochaTest']
    }
  });

  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-mocha-test');
  grunt.loadNpmTasks('grunt-regenerator');

  grunt.registerTask('test', ['jshint', 'mochaTest']);
  grunt.registerTask('default', ['jshint', 'regenerator', 'mochaTest']);

};
{'fraction_non_alphanumeric': 0.17733782645324347, 'fraction_numerical': 0.0008424599831508003, 'mean_word_length': 1.8928136419001218, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4171355', 'n_tokens_mistral': 839, 'n_tokens_neox': 804, 'n_words': 131}