<commit_before>module.exports = function (grunt) {

    // Project configuration.
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        uglify: {
            options: {
                banner: '/*! <%= pkg.name %> v<%= pkg.version %> (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> <%= pkg.homepage %> */\n'
            },
            build: {
                src: '<%= buildSourceFile %>',
                dest: '<%= pkg.name %>.min.js'
            }
        },
        jshint: {
            src: ['Gruntfile.js', '<%= sourceFiles %>', 'i<$= testFiles']
        },
        watch: {
            files: ['Gruntfile.js', 'lib/**/*.js', 'test/**/*.js', 'package.json'],
            tasks: ['jshint', 'mocha', 'uglify']
        },

        // files
        buildSourceFile: 'lib/index.js',
        sourceFiles: 'lib/**/*.js',
        testFiles: 'test/**/*.js'
    });

    grunt.registerTask('mocha', 'run mocha', function () {
        var done = this.async();
        require('child_process')
            .exec('mocha', function (err, stdout) {
            grunt.log.write(stdout);
            done(err);
        });
    });

    grunt.event.on('watch', function (action, filepath) {
        grunt.log.writeln(filepath + ' has ' + action);
    });

    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-contrib-watch');

    // Default task(s).
    grunt.registerTask('default', ['uglify', 'jshint']);

};<commit_msg>fixed jshint sourcedfiles, do it twice :)<commit_after>module.exports = function (grunt) {

  // Project configuration.
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    uglify: {
      options: {
        banner: '/*! <%= pkg.name %> v<%= pkg.version %> (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> <%= pkg.homepage %> */\n'
      },
      build: {
        src: '<%= buildSourceFile %>',
        dest: '<%= pkg.name %>.min.js'
      }
    },
    jshint: {
      src: ['Gruntfile.js', '<%= sourceFiles %>', '<%= testFiles %>']
    },
    watch: {
      files: ['Gruntfile.js', 'lib/**/*.js', 'test/**/*.js', 'package.json'],
      tasks: ['jshint', 'mocha', 'uglify']
    },

    // files
    buildSourceFile: 'lib/index.js',
    sourceFiles: 'lib/**/*.js',
    testFiles: 'test/**/*.js'
  });

  grunt.registerTask('mocha', 'run mocha', function () {
    var done = this.async();
    require('child_process')
      .exec('mocha', function (err, stdout) {
      grunt.log.write(stdout);
      done(err);
    });
  });

  grunt.event.on('watch', function (action, filepath) {
    grunt.log.writeln(filepath + ' has ' + action);
  });

  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-contrib-watch');

  // Default task(s).
  grunt.registerTask('default', ['uglify', 'jshint']);

};
{'fraction_non_alphanumeric': 0.21350239890335845, 'fraction_numerical': 0.0, 'mean_word_length': 2.2797752808988765, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 20, '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': '6107304', 'n_tokens_mistral': 1057, 'n_tokens_neox': 981, 'n_words': 159}