<commit_before>/*
 * grunt-versioner
 * https://github.com/amkirwan/grunt-versioner
 *
 * Copyright (c) 2014 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

module.exports = function(grunt) {

  grunt.file.defaultEncoding = 'utf-8';
  // Project configuration.
  
  grunt.initConfig({
    jshint: {
      all: [
        'Gruntfile.js',
        'tasks/*.js',
        '<%= nodeunit.tests %>',
      ],
      options: {
        jshintrc: '.jshintrc',
      },
    },

    // Before generating any new files, remove any previously-created files.
    clean: {
      tests: ['tmp'],
    },

    // Configuration to be run (and then tested).
    versioner: {
      options: { mode: 'test' },
      default: {
        files: {
          'tmp/default/VERSION': ['test/fixtures/default/VERSION'],
          'tmp/default/package.json': ['test/fixtures/default/package.json'],
          'tmp/default/bower.json': ['test/fixtures/default/bower.json'],
          'tmp/default/README.md': ['test/fixtures/default/README.md'],
          'tmp/default/src_file.js': ['test/fixtures/default/src_file.js']
        }<commit_msg>should read the package.json in fixtures<commit_after>/*
 * grunt-versioner
 * https://github.com/amkirwan/grunt-versioner
 *
 * Copyright (c) 2014 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

module.exports = function(grunt) {

  grunt.file.defaultEncoding = 'utf-8';
  // Project configuration.
  
  grunt.initConfig({
    jshint: {
      all: [
        'Gruntfile.js',
        'tasks/*.js',
        '<%= nodeunit.tests %>',
      ],
      options: {
        jshintrc: '.jshintrc',
      },
    },

    // Before generating any new files, remove any previously-created files.
    clean: {
      tests: ['tmp'],
    },

    // Configuration to be run (and then tested).
    versioner: {
      options: { 
        file: 'test/fixtures/default/package.json',
         mode: 'test' 
      },
      default: {
        files: {
          'tmp/default/VERSION': ['test/fixtures/default/VERSION'],
          'tmp/default/package.json': ['test/fixtures/default/package.json'],
          'tmp/default/bower.json': ['test/fixtures/default/bower.json'],
          'tmp/default/README.md': ['test/fixtures/default/README.md'],
          'tmp/default/src_file.js': ['test/fixtures/default/src_file.js']
        }
{'fraction_non_alphanumeric': 0.16467065868263472, 'fraction_numerical': 0.00427715996578272, 'mean_word_length': 2.239612188365651, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '4385918', 'n_tokens_mistral': 771, 'n_tokens_neox': 754, 'n_words': 135}