<commit_before>module.exports = function(grunt) {
    grunt.initConfig({
        copy: {
            site: {
                expand: true,
                cwd: 'output',
                src: '**',
                dest: 'deploy'
            }
        },
        clean: ['deploy'],
        autoprefixer: {
            site: {
                expand: true,
                flatten: true,
                src: 'deploy/css/*.css',
                dest: 'deploy/css/'
            }
        },
        htmlcompressor: {
            site: {
                expand: true,
                cwd: 'deploy',
                src: '**/*.html',
                dest: 'deploy'
            }
        },
        imagemin: {
            site: {
                options: {
                  pngquant: true
                },
                files: [{
                  cwd: 'output/',
                  src: ['**/*.{png,gif,jpg}'],
                  dest: 'deploy/',
                  expand: true
                }]
            }
        },
        useminPrepare: {
            html: {
                src: ['deploy/**/*.html'],
                options: {
                  dest: 'deploy'
                }
            }
        },
        usemin: {
            html: {
                src: ['deploy/**/*.html'],
                options: {
                  dest: 'deploy'
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.loadNpmTasks('grunt-contrib-cssmin');
    grunt.loadNpmTasks('grunt-contrib-imagemin');
    grunt.loadNpmTasks('grunt-autoprefixer');
    grunt.loadNpmTasks('grunt-htmlcompressor');
    grunt.loadNpmTasks('grunt-usemin');

    grunt.registerTask('default', ['clean', 'copy', 'imagemin', 'useminPrepare', 'usemin', 'autoprefixer', 'concat', 'cssmin', 'htmlcompressor']);
};
<commit_msg>grunt task to use EN/index as home page<commit_after>module.exports = function(grunt) {
    grunt.initConfig({
        copy: {
            site: {
                expand: true,
                cwd: 'output',
                src: '**',
                dest: 'deploy'
            },
            index: {
                files: [{
                    cwd: 'output/en',
                    src: 'index.html',
                    dest: 'deploy',
                    expand: true
                }]
            }
        },
        clean: ['deploy'],
        autoprefixer: {
            site: {
                expand: true,
                flatten: true,
                src: 'deploy/css/*.css',
                dest: 'deploy/css/'
            }
        },
        htmlcompressor: {
            site: {
                expand: true,
                cwd: 'deploy',
                src: '**/*.html',
                dest: 'deploy'
            }
        },
        imagemin: {
            site: {
                options: {
                  pngquant: true
                },
                files: [{
                  cwd: 'output/',
                  src: ['**/*.{png,gif,jpg}'],
                  dest: 'deploy/',
                  expand: true
                }]
            }
        },
        useminPrepare: {
            html: {
                src: ['deploy/**/*.html'],
                options: {
                  dest: 'deploy'
                }
            }
        },
        usemin: {
            html: {
                src: ['deploy/**/*.html'],
                options: {
                  dest: 'deploy'
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.loadNpmTasks('grunt-contrib-cssmin');
    grunt.loadNpmTasks('grunt-contrib-imagemin');
    grunt.loadNpmTasks('grunt-autoprefixer');
    grunt.loadNpmTasks('grunt-htmlcompressor');
    grunt.loadNpmTasks('grunt-usemin');

    grunt.registerTask('default', ['clean', 'copy', 'imagemin', 'useminPrepare', 'usemin', 'autoprefixer', 'concat', 'cssmin', 'htmlcompressor']);
};

{'fraction_non_alphanumeric': 0.1420963447107238, 'fraction_numerical': 0.0, 'mean_word_length': 1.0445324096981692, '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': '783034', 'n_tokens_mistral': 1232, 'n_tokens_neox': 1135, 'n_words': 177}