<commit_before>/*global config:true, task:true*/
config.init({
  pkg: '<json:package.json>',
  meta: {
    banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
      '<%= template.today("m/d/yyyy") %>\n' +
      '<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
      '* Copyright (c) <%= template.today("yyyy") %> <%= pkg.author.name %>;' +
      ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
  },
  concat: {
    dist: {
      src: ['<banner>', '<file_strip_banner:lib/<%= pkg.name %>.js>'],
      dest: 'dist/<%= pkg.name %>.js'
    }
  },
  min: {
    dist: {
      src: ['<banner>', '<config:concat.dist.dest>'],
      dest: 'dist/<%= pkg.name %>.min.js'
    }
  },
  test: {
    files: ['test/**/*.js']
  },
  lint: {
    files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
  },
  watch: {
    files: '<config:lint.files>',
    tasks: 'lint test'
  },
  jshint: {
    options: {
      curly: true,
      eqeqeq: true,
      immed: true,
      latedef: true,
      newcap: true,
      noarg: true,
      sub: true,
      undef: true,
      boss: true,
      eqnull: true
    },
    globals: {
      exports: true,
      module: true
    }
  },
  uglify: {}
});

// Default task.
task.registerTask('default', 'lint test concat min');<commit_msg>In CommonJS, "module" shouldn't be writable. At least, not that I'm aware.<commit_after>/*global config:true, task:true*/
config.init({
  pkg: '<json:package.json>',
  meta: {
    banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
      '<%= template.today("m/d/yyyy") %>\n' +
      '<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
      '* Copyright (c) <%= template.today("yyyy") %> <%= pkg.author.name %>;' +
      ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
  },
  concat: {
    dist: {
      src: ['<banner>', '<file_strip_banner:lib/<%= pkg.name %>.js>'],
      dest: 'dist/<%= pkg.name %>.js'
    }
  },
  min: {
    dist: {
      src: ['<banner>', '<config:concat.dist.dest>'],
      dest: 'dist/<%= pkg.name %>.min.js'
    }
  },
  test: {
    files: ['test/**/*.js']
  },
  lint: {
    files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
  },
  watch: {
    files: '<config:lint.files>',
    tasks: 'lint test'
  },
  jshint: {
    options: {
      curly: true,
      eqeqeq: true,
      immed: true,
      latedef: true,
      newcap: true,
      noarg: true,
      sub: true,
      undef: true,
      boss: true,
      eqnull: true
    },
    globals: {
      exports: true,
      module: false
    }
  },
  uglify: {}
});

// Default task.
task.registerTask('default', 'lint test concat min');
{'fraction_non_alphanumeric': 0.24311926605504589, 'fraction_numerical': 0.0, 'mean_word_length': 2.1992665036674817, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '6795005', 'n_tokens_mistral': 1061, 'n_tokens_neox': 1004, 'n_words': 194}