<commit_before>module.exports = function(grunt) {

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

        uglify: {
            options: {
                mangle: false,
                compress: {
                    drop_console: false
                },
                banner: '/* <%= pkg.name %> */\n'
            },

            my_target: {
                files: {
                    'build/js/foundation.min.js' : ['lib/js/fastclick.js', 'lib/js/foundation.min.js', 'lib/js/foundation.magellan.js', 'lib/js/foundation-datepicker.js'],
                    'build/js/<%= pkg.name %>.js' : ['dev/js/init.js', 'dev/js/events.js', 'dev/js/models.js', 'dev/js/collections.js', 'dev/js/views.js', 'dev/js/graph-view.js', 'dev/js/app.js'],
                    'build/js/lib.min.js' : ['lib/js/underscore-1.5.2.js', 'lib/js/backbone-1.1.0.js', 'lib/js/mapbox.js', 'lib/js/leaflet.markercluster.js', 'lib/js/d3.v3.min.js']
                }
            }
        },

        cssmin: {
            combine: {
                files: {
                    'build/css/<%= pkg.name %>.min.css' : ['dev/css/markercluster.css', 'dev/css/style.css', 'dev/css/graph.css'],
                    'build/css/lib.min.css' : ['lib/css/foundation.css', 'lib/css/foundation-datepicker.css', 'lib/css/font-awesome.css']
                }
            }
        },

        watch: {
            scripts: {
                files: ['dev/js/*.js'],
                tasks: ['newer:uglify'],
                options: {<commit_msg>Logging console in minified build<commit_after>module.exports = function(grunt) {

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

        uglify: {
            options: {
                mangle: false,
                compress: {
                    drop_console: false
                },
                banner: '/* <%= pkg.name %> */\n'
            },

            my_target: {
                files: {
                    'build/js/foundation.min.js' : ['lib/js/fastclick.js', 'lib/js/foundation.min.js', 'lib/js/foundation.magellan.js', 'lib/js/foundation-datepicker.js'],
                    'build/js/<%= pkg.name %>.js' : ['dev/js/init.js', 'dev/js/events.js', 'dev/js/models.js', 'dev/js/collections.js', 'dev/js/views.js', 'dev/js/graph-view.js', 'dev/js/app.js'],
                    'build/js/lib.min.js' : ['lib/js/underscore-1.5.2.js', 'lib/js/backbone-1.1.0.js', 'lib/js/mapbox.js', 'lib/js/leaflet.markercluster.js', 'lib/js/d3.v3.min.js']
                }
            }
        },

        cssmin: {
            combine: {
                files: {
                    'build/css/<%= pkg.name %>.min.css' : ['dev/css/markercluster.css', 'dev/css/style.css', 'dev/css/graph.css'],
                    'build/css/lib.min.css' : ['lib/css/foundation.css', 'lib/css/foundation-datepicker.css'/*, 'lib/css/font-awesome.css'*/]
                }
            }
        },

        watch: {
            scripts: {
                files: ['dev/js/*.js'],
                tasks: ['newer:uglify'],
                options: {
{'fraction_non_alphanumeric': 0.18847150259067358, 'fraction_numerical': 0.0051813471502590676, 'mean_word_length': 1.4113973458235753, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3160460', 'n_tokens_mistral': 1087, 'n_tokens_neox': 1021, 'n_words': 120}