<commit_before>'use strict';

module.exports = function(grunt) {

  require('load-grunt-tasks')(grunt);


  // project configuration
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    jshint: {
      all: [
        'Gruntfile.js',
        'index.js',
        'lib/**/*.js',
        'test/spec/**/*.js'
      ],
      options: {
        jshintrc: true
      }
    },

    jasmine_node: {
      options: {
        specNameMatcher: '.*Spec'
      },
      all: [ 'test/spec' ]
    }
  });


  grunt.registerTask('test', [ 'jasmine_node' ]);

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

  grunt.registerTask('travis', [ 'default' ]);
};<commit_msg>chore(Gruntfile): add release configuration<commit_after>'use strict';

module.exports = function(grunt) {

  require('load-grunt-tasks')(grunt);


  // project configuration
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    jshint: {
      all: [
        'Gruntfile.js',
        'index.js',
        'lib/**/*.js',
        'test/spec/**/*.js'
      ],
      options: {
        jshintrc: true
      }
    },

    jasmine_node: {
      options: {
        specNameMatcher: '.*Spec'
      },
      all: [ 'test/spec' ]
    },

    release: {
      options: {
        commitMessage: 'chore(project): release v<%= version %>',
        tagMessage: 'chore(project): tag v<%= version %>',
        tagName: 'v<%= version %>'
      }
    }
  });


  grunt.registerTask('test', [ 'jasmine_node' ]);

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

  grunt.registerTask('travis', [ 'default' ]);
};
{'fraction_non_alphanumeric': 0.19095477386934673, 'fraction_numerical': 0.0, 'mean_word_length': 2.231237322515213, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6663828', 'n_tokens_mistral': 580, 'n_tokens_neox': 553, 'n_words': 82}