<commit_before>'use strict';

module.exports = function(grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    clean: {
      prodution: 'production'
    },
    copy: {
      'htaccess': { expand: true, src: '.htaccess', dest: 'production'},
      'root': { expand: true, src: '*', dest: 'production', filter: 'isFile' },
      'locales': { expand: true, src: 'locales/*', dest: 'production' },
      'css': { expand: true, src: 'assets/*.css',
               dest: 'production', filter: 'isFile' },
      'images': { expand: true, src: 'assets/images/*', dest: 'production' },
      'canvas-to-blob': {
        expand: true,
        src: 'assets/canvas-to-blob/canvas-to-blob.min.js',
        dest: 'production' }
    },
    uglify: {
      options: {
        banner: '/*! <%= pkg.name %> ' +
                ' <%= grunt.template.today("yyyy-mm-dd") %> */\n'
      }
    },
    useminPrepare: {<commit_msg>compress go2 in grunt build process<commit_after>'use strict';

module.exports = function(grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    clean: {
      prodution: 'production'
    },
    copy: {
      'htaccess': { expand: true, src: '.htaccess', dest: 'production'},
      'root': { expand: true, src: '*', dest: 'production', filter: 'isFile' },
      'locales': { expand: true, src: 'locales/*', dest: 'production' },
      'css': { expand: true, src: 'assets/*.css',
               dest: 'production', filter: 'isFile' },
      'images': { expand: true, src: 'assets/images/*', dest: 'production' },
      'canvas-to-blob': {
        expand: true,
        src: 'assets/canvas-to-blob/canvas-to-blob.min.js',
        dest: 'production' },
      'go2': {
        expand: true,
        src: 'assets/go2/src/google-oauth2.js',
        dest: 'production' }
    },
    uglify: {
      options: {
        banner: '/*! <%= pkg.name %> ' +
                ' <%= grunt.template.today("yyyy-mm-dd") %> */\n'
      },
      'production/assets/go2/src/google-oauth2.js':
        'production/assets/go2/src/google-oauth2.js'
    },
    useminPrepare: {
{'fraction_non_alphanumeric': 0.19914651493598862, 'fraction_numerical': 0.003793266951161688, 'mean_word_length': 2.359872611464968, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3542514', 'n_tokens_mistral': 731, 'n_tokens_neox': 704, 'n_words': 140}