<commit_before>'use strict';

module.exports = function(grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        copy: {
            main: {
                src: [
                    'bower_components/leaflet-control-osm-geocoder/images/*',
                    'bower_components/leaflet-fullscreen/*.png',
                    'bower_components/leaflet/dist/images/*'

                ],
                dest: 'img/',
            },
        },
        concat: {
            options: {
                // define a string to put between each file in the concatenated output
                separator: ';'
            },
            lib: {
                // the files to concatenate
                src: '<%= pkg.files %>',
                // the location of the resulting JS file
                dest: '<%= pkg.name %>.lib.js'
            }
        },
        uglify: {<commit_msg>Grunt copy for image with flatten option<commit_after>'use strict';

module.exports = function(grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        copy: {
            main: {
                expand: true,
                cwd: 'bower_components/',
                src: [
                    'leaflet-control-osm-geocoder/images/*',
                    'leaflet-fullscreen/*.png',
                    'leaflet/dist/images/*'

                ],
                dest: 'img/',
                flatten: true,
                filter: 'isFile'
            },
        },
        concat: {
            options: {
                // define a string to put between each file in the concatenated output
                separator: ';'
            },
            lib: {
                // the files to concatenate
                src: '<%= pkg.files %>',
                // the location of the resulting JS file
                dest: '<%= pkg.name %>.lib.js'
            }
        },
        uglify: {
{'fraction_non_alphanumeric': 0.11713106295149639, 'fraction_numerical': 0.0, 'mean_word_length': 1.0737967914438502, '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': '2518513', 'n_tokens_mistral': 541, 'n_tokens_neox': 492, 'n_words': 110}