<commit_before>module.exports = function (grunt) {
  
  /**
   * This is the configuration object Grunt uses to give each plugin its 
   * instructions.
   */
  grunt.initConfig({
    /**
     * We read in our `package.json` file so we can access the package name and
     * version. It's already there, so we don't repeat ourselves here.
     */
    pkg: grunt.file.readJSON('bower.json'),

    build_dir: 'build',
    dist_dir: 'dist',
    src_files: {
      js: [ 'src/**/*.js' ],
      coffee: [ 'src/**/*.coffee' ]
    },

    vendor_files: {
      js: [
        'vendor/angular/angular.js'
      ]
    },

    // used only during testing
    test_files: {
      js: [
        'vendor/angular-mocks/angular-mocks.js'
      ]
    },

    /**
     * The banner is the comment that is placed at the top of our compiled 
     * source files. It is first processed as a Grunt template, where the `<%=`
     * pairs are evaluated based on this very configuration object.
     */
    meta: {
      banner: 
        '/**\n' +
        ' * <%= pkg.description %>\n' +
        ' * @version <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n' +
        ' * @link <%= pkg.homepage %>\n' +
        ' * @author <%= pkg.authors.join(", ") %>\n' +
        ' *\n' +
        ' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.authors.join(", ") %>\n' +
        ' * Licensed under the MIT License, http://opensource.org/licenses/MIT\n' +
        ' */\n'
    },

    /**
     * Creates a changelog on a new version.
     */
    changelog: {
      options: {
        dest: 'CHANGELOG.md',
        template: 'changelog.tpl'
      }
    },

    /**
     * Increments the version number, etc.
     */
    bump: {
      options: {
        files: [
          "package.json", 
          "bower.json"
        ],
        updateConfigs: ['pkg'],
        commit: false,
        commitMessage: 'chore(release): v%VERSION%',
        commitFiles: [
          "package.json", 
          "bower.json"
        ],
        createTag: false,
        tagName: '%VERSION%',
        tagMessage: 'Release %VERSION% version',
        push: false,
        pushTo: 'origin'
      }
    },

    gitcommit: {
      bump: {
        options: {
          message: 'chore(release): v<%= pkg.version %>'
        },
        files: {
          src: [
            "package.json",
            "bower.json",
            '<%= dist_dir %>/<%= pkg.name %>.js',
            '<%= dist_dir %>/<%= pkg.name %>.min.js'
          ]
        }
      }
    },

    gittag: {
      bump: {
        options: {
          tag: '<%= pkg.version %>',
          message: 'Release <%= pkg.version %> version'
        }
      }
    },

    gitpush: {
      bump_branch: {
        options: {
          remote: 'origin'
        }
      },
      bump_tags: {
        options: {
          remote: 'origin',
          tags: true
        }
      }
    },

    ngdocs: {
      options: {
        dest: 'tmp',
        navTemplate: 'docs/html/nav.html',
        html5Mode: false,
        title: false,
        // startPage: '/guide',
        // scripts: [
        //   '//code.angularjs.org/1.2.23/angular.min.js'
        // ],
        // styles: ['docs/css/styles.css']
      },
      api: {
        src: [
          'build/src/**/*.js',
          'docs/content/api/*.ngdoc'
        ],
        title: 'API Reference'
      }
      // guide: {
      //   src: ['docs/content/guide/*.ngdoc'],
      //   title: 'Guide'
      // }
    },

    /**
     * The directories to delete when `grunt clean` is executed.
     */
    clean: [ <commit_msg>fix(Gruntfile): remove extra comma<commit_after>module.exports = function (grunt) {
  
  /**
   * This is the configuration object Grunt uses to give each plugin its 
   * instructions.
   */
  grunt.initConfig({
    /**
     * We read in our `package.json` file so we can access the package name and
     * version. It's already there, so we don't repeat ourselves here.
     */
    pkg: grunt.file.readJSON('bower.json'),

    build_dir: 'build',
    dist_dir: 'dist',
    src_files: {
      js: [ 'src/**/*.js' ],
      coffee: [ 'src/**/*.coffee' ]
    },

    vendor_files: {
      js: [
        'vendor/angular/angular.js'
      ]
    },

    // used only during testing
    test_files: {
      js: [
        'vendor/angular-mocks/angular-mocks.js'
      ]
    },

    /**
     * The banner is the comment that is placed at the top of our compiled 
     * source files. It is first processed as a Grunt template, where the `<%=`
     * pairs are evaluated based on this very configuration object.
     */
    meta: {
      banner: 
        '/**\n' +
        ' * <%= pkg.description %>\n' +
        ' * @version <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n' +
        ' * @link <%= pkg.homepage %>\n' +
        ' * @author <%= pkg.authors.join(", ") %>\n' +
        ' *\n' +
        ' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.authors.join(", ") %>\n' +
        ' * Licensed under the MIT License, http://opensource.org/licenses/MIT\n' +
        ' */\n'
    },

    /**
     * Creates a changelog on a new version.
     */
    changelog: {
      options: {
        dest: 'CHANGELOG.md',
        template: 'changelog.tpl'
      }
    },

    /**
     * Increments the version number, etc.
     */
    bump: {
      options: {
        files: [
          "package.json", 
          "bower.json"
        ],
        updateConfigs: ['pkg'],
        commit: false,
        commitMessage: 'chore(release): v%VERSION%',
        commitFiles: [
          "package.json", 
          "bower.json"
        ],
        createTag: false,
        tagName: '%VERSION%',
        tagMessage: 'Release %VERSION% version',
        push: false,
        pushTo: 'origin'
      }
    },

    gitcommit: {
      bump: {
        options: {
          message: 'chore(release): v<%= pkg.version %>'
        },
        files: {
          src: [
            "package.json",
            "bower.json",
            '<%= dist_dir %>/<%= pkg.name %>.js',
            '<%= dist_dir %>/<%= pkg.name %>.min.js'
          ]
        }
      }
    },

    gittag: {
      bump: {
        options: {
          tag: '<%= pkg.version %>',
          message: 'Release <%= pkg.version %> version'
        }
      }
    },

    gitpush: {
      bump_branch: {
        options: {
          remote: 'origin'
        }
      },
      bump_tags: {
        options: {
          remote: 'origin',
          tags: true
        }
      }
    },

    ngdocs: {
      options: {
        dest: 'tmp',
        navTemplate: 'docs/html/nav.html',
        html5Mode: false,
        title: false
        // startPage: '/guide',
        // scripts: [
        //   '//code.angularjs.org/1.2.23/angular.min.js'
        // ],
        // styles: ['docs/css/styles.css']
      },
      api: {
        src: [
          'build/src/**/*.js',
          'docs/content/api/*.ngdoc'
        ],
        title: 'API Reference'
      }
      // guide: {
      //   src: ['docs/content/guide/*.ngdoc'],
      //   title: 'Guide'
      // }
    },

    /**
     * The directories to delete when `grunt clean` is executed.
     */
    clean: [ 
{'fraction_non_alphanumeric': 0.16749723145071982, 'fraction_numerical': 0.0013842746400885937, 'mean_word_length': 1.434299191374663, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 33, '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': '47230', 'n_tokens_mistral': 2428, 'n_tokens_neox': 2314, 'n_words': 497}