<commit_before>/**
 * Workflow to release a new version:
 * grunt bump-only:minor
 * grunt
 * grunt gh-pages
 * grunt bump-commit
 * git push --tags
 * npm publish
 */
module.exports = function(grunt) {

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

    copy: {
      js: {
        files: [
          { src: ['spin.js', 'jquery.spin.js'], dest: 'site/' }
        ]
      }
    },

    uglify: {
      options: {
        banner: '// http://spin.js.org/#v<%= pkg.version %>\n'
      },
      js: {
        files: {
          'site/spin.min.js': ['site/spin.js'],
          'spin.min.js': ['site/spin.min.js']
        }
      }
    },

    bump: {
      options: {
        files: ['package.json', 'component.json', 'bower.json'],
        updateConfigs: ['pkg'],
        commit: true,
        commitMessage: 'Release v%VERSION%',
        commitFiles: ['package.json', 'component.json', 'bower.json', 'spin.min.js'],
        createTag: true,
        tagName: '%VERSION%',
        push: false
      }
    },
<commit_msg>Remove bower.json from Grunt version bump<commit_after>/**
 * Workflow to release a new version:
 * grunt bump-only:minor
 * grunt
 * grunt gh-pages
 * grunt bump-commit
 * git push --tags
 * npm publish
 */
module.exports = function(grunt) {

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

    copy: {
      js: {
        files: [
          { src: ['spin.js', 'jquery.spin.js'], dest: 'site/' }
        ]
      }
    },

    uglify: {
      options: {
        banner: '// http://spin.js.org/#v<%= pkg.version %>\n'
      },
      js: {
        files: {
          'site/spin.min.js': ['site/spin.js'],
          'spin.min.js': ['site/spin.min.js']
        }
      }
    },

    bump: {
      options: {
        files: ['package.json', 'component.json'],
        updateConfigs: ['pkg'],
        commit: true,
        commitMessage: 'Release v%VERSION%',
        commitFiles: ['package.json', 'component.json', 'spin.min.js'],
        createTag: true,
        tagName: '%VERSION%',
        push: false
      }
    },

{'fraction_non_alphanumeric': 0.18001930501930502, 'fraction_numerical': 0.0, 'mean_word_length': 1.8204081632653062, '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': '1940937', 'n_tokens_mistral': 714, 'n_tokens_neox': 695, 'n_words': 139}