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

  grunt.initConfig({

    pkg: grunt.file.readJSON('package.json'),

    meta: {
      version: '<%= pkg.version %>'
    },

    jasmine: {
      sources: 'src/majesty.js',
      options: {
        keepRunner: true,
        specs: 'spec/*.js'
      }
    }

  });
  grunt.loadNpmTasks('grunt-contrib-jasmine');
  grunt.registerTask('test', 'jasmine');
  grunt.registerTask('default', ['test']);
};
<commit_msg>Add watch task to grunt<commit_after>module.exports = function(grunt) {

  grunt.initConfig({

    pkg: grunt.file.readJSON('package.json'),

    meta: {
      version: '<%= pkg.version %>'
    },

    jasmine: {
      sources: 'src/majesty.js',
      options: {
        keepRunner: true,
        specs: 'spec/*.js'
      }
    },

    watch: {
      all: {
        files: ['src/*.js', 'spec/*.js'],
        tasks: 'jasmine'
      }
    }

  });

  grunt.loadNpmTasks('grunt-contrib-jasmine');
  grunt.loadNpmTasks('grunt-contrib-watch');

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

{'fraction_non_alphanumeric': 0.18841911764705882, 'fraction_numerical': 0.0, 'mean_word_length': 2.5016077170418005, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4571273', 'n_tokens_mistral': 409, 'n_tokens_neox': 382, 'n_words': 54}