<commit_before>module.exports = function(grunt) {
  grunt.initConfig({
    cssmin: {
      dist: {
        files: {
          'dist/css/application.min.css': ['dist/css/application.min.css'],
        },
      },
    },

    eslint: {
      target: [
        'Gruntfile.js',
        'src/js/**/*.js',
      ],
    },

    jsonlint: {
      all: {
        options: {
          format: true,
          indent: 2,
        },
        src: [
          '.eslintrc.json',
          'package.json',
          'package-lock.json',
        ],
      },
    },

    processhtml: {
      dist: {
        files: {
          'dist/index.html': ['src/index.html'],
        },
      },
    },

    uglify: {
      dist: {
        files: {
          'dist/js/application.min.js': ['src/js/*.js'],
        },
      },
    },

    uncss: {
      dist: {
        files: {
          'dist/css/application.min.css': ['src/index.html'],
        },
      },
    },
  });

  grunt.loadNpmTasks('grunt-contrib-cssmin');
  grunt.loadNpmTasks('grunt-contrib-uglify-es');
  grunt.loadNpmTasks('grunt-eslint');
  grunt.loadNpmTasks('grunt-jsonlint');
  grunt.loadNpmTasks('grunt-processhtml');
  grunt.loadNpmTasks('grunt-uncss');<commit_msg>Uglify all JavaScript files automatically.<commit_after>module.exports = function(grunt) {
  grunt.initConfig({
    cssmin: {
      dist: {
        files: {
          'dist/css/application.min.css': ['dist/css/application.min.css'],
        },
      },
    },

    eslint: {
      target: [
        'Gruntfile.js',
        'src/js/**/*.js',
      ],
    },

    jsonlint: {
      all: {
        options: {
          format: true,
          indent: 2,
        },
        src: [
          '.eslintrc.json',
          'package.json',
          'package-lock.json',
        ],
      },
    },

    processhtml: {
      dist: {
        files: {
          'dist/index.html': ['src/index.html'],
        },
      },
    },

    uglify: {
      dist: {
        files: {
          'dist/js/application.min.js': ['src/js/**/*.js'],
        },
      },
    },

    uncss: {
      dist: {
        files: {
          'dist/css/application.min.css': ['src/index.html'],
        },
      },
    },
  });

  grunt.loadNpmTasks('grunt-contrib-cssmin');
  grunt.loadNpmTasks('grunt-contrib-uglify-es');
  grunt.loadNpmTasks('grunt-eslint');
  grunt.loadNpmTasks('grunt-jsonlint');
  grunt.loadNpmTasks('grunt-processhtml');
  grunt.loadNpmTasks('grunt-uncss');
{'fraction_non_alphanumeric': 0.18189233278955955, 'fraction_numerical': 0.0008156606851549756, 'mean_word_length': 1.5472481827622016, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7265683', 'n_tokens_mistral': 866, 'n_tokens_neox': 849, 'n_words': 91}