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

  'use strict';

  grunt.initConfig({

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

    // Bumpup version
    bumpup: {
      options: {
        updateProps: {
          pkg: 'package.json'
        }
      },
      files: ['package.json']
    },

    uglify: {
      options: {
        banner: "/*\n\n" + grunt.file.read('BANNER') + "\n\n" + grunt.file.read('LICENSE.txt') + "*/\n\n",
        compress: {
          drop_console: true
        },
        preserveComments: false
      },
      build: {
        src: './src/<%= pkg.name %>.js',
        dest: './<%= pkg.name %>.min.js'
      }
    },

    // Generate doc
    yuidoc: {
      compile: {
        name: '<%= pkg.name %>',
        version: '<%= pkg.version %>',
        description: '<%= pkg.description %>',
        url: '<%= pkg.url %>',
        options: {
          outdir: './docs',
          linkNatives: true,
          paths: ['./src/']
        }
      }
    },

    // Copy file to the example folder
    copy: {
      main: {

        files: [
          { src: './<%= pkg.name %>.min.js', dest: './examples/<%= pkg.name %>.min.js' }
        ]

      }
    },

    // Files that are copied or written over must be re-committed.
    gitcommit: {
      "commitupdated": {
        options: {
          message: 'Release <%= pkg.version %>.',
          noVerify: true,
          noStatus: false
        },
        files: {<commit_msg>Use the capitalized name from bower.json<commit_after>module.exports = function (grunt) {

  'use strict';

  grunt.initConfig({

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

    // Bumpup version
    bumpup: {
      options: {
        updateProps: {
          pkg: 'package.json'
        }
      },
      files: ['package.json']
    },

    uglify: {
      options: {
        banner: "/*\n\n" + grunt.file.read('BANNER') + "\n\n" + grunt.file.read('LICENSE.txt') + "*/\n\n",
        compress: {
          drop_console: true
        },
        preserveComments: false
      },
      build: {
        src: './src/<%= pkg.name %>.js',
        dest: './<%= pkg.name %>.min.js'
      }
    },

    // Generate doc
    yuidoc: {
      compile: {
        name: '<%= bower.name %>',
        version: '<%= pkg.version %>',
        description: '<%= pkg.description %>',
        url: '<%= pkg.url %>',
        options: {
          outdir: './docs',
          linkNatives: true,
          paths: ['./src/']
        }
      }
    },

    // Copy file to the example folder
    copy: {
      main: {

        files: [
          { src: './<%= pkg.name %>.min.js', dest: './examples/<%= pkg.name %>.min.js' }
        ]

      }
    },

    // Files that are copied or written over must be re-committed.
    gitcommit: {
      "commitupdated": {
        options: {
          message: 'Release <%= pkg.version %>.',
          noVerify: true,
          noStatus: false
        },
        files: {
{'fraction_non_alphanumeric': 0.18126888217522658, 'fraction_numerical': 0.0, 'mean_word_length': 1.4750830564784052, 'pattern_counts': {'":': 2, '<': 21, '<?xml version=': 0, '>': 21, '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': '560355', 'n_tokens_mistral': 1022, 'n_tokens_neox': 960, 'n_words': 195}