<commit_before>module.exports = function(grunt){
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        jshint: {
            options: {
                esnext: true,
                immed: true,
                laxcomma: true,
                eqnull: true
            },
            all: ['csv.js']
        },
        jasmine: {
            spec: {
                src: 'csv.js',
                options: {
                    specs: ['test/spec/*Spec.js'],
                    template: require('grunt-template-jasmine-istanbul'),
                    templateOptions: {
                        coverage: 'test/coverage/coverage.json',
                        report: {
                            type: 'lcov',
                            options: {
                                dir: 'test/coverage'
                            }
                        }
                    }
                }
            }
        },
        uglify: {
            options: {
                mangle: true,
                compress: true,
                beautify: false,
                expand: true
            },
            csv:{
                src: ['csv.js'],
                dest: 'csv.min.js'
            }
        },
        coveralls: {
            options: {
                src: 'test/coverage/lcov.info'
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-contrib-jasmine');
    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-coveralls');

    grunt.registerTask('default', ['jshint', 'jasmine:spec']);
    grunt.registerTask('build', ['default', 'uglify', 'coveralls']);
}<commit_msg>Simplifying coveralls configuration<commit_after>module.exports = function(grunt){
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        jshint: {
            options: {
                esnext: true,
                immed: true,
                laxcomma: true,
                eqnull: true
            },
            all: ['csv.js']
        },
        jasmine: {
            spec: {
                src: 'csv.js',
                options: {
                    specs: ['test/spec/*Spec.js'],
                    template: require('grunt-template-jasmine-istanbul'),
                    templateOptions: {
                        coverage: 'test/coverage/coverage.json',
                        report: {
                            type: 'lcov',
                            options: {
                                dir: 'test/coverage'
                            }
                        }
                    }
                }
            }
        },
        uglify: {
            options: {
                mangle: true,
                compress: true,
                beautify: false,
                expand: true
            },
            csv:{
                src: ['csv.js'],
                dest: 'csv.min.js'
            }
        },
        coveralls: {
            src: 'test/coverage/lcov.info'
        }
    });

    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-contrib-jasmine');
    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-coveralls');

    grunt.registerTask('default', ['jshint', 'jasmine:spec']);
    grunt.registerTask('build', ['default', 'uglify', 'coveralls']);
}
{'fraction_non_alphanumeric': 0.12208099320130061, 'fraction_numerical': 0.0, 'mean_word_length': 1.004739336492891, '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': '2790099', 'n_tokens_mistral': 949, 'n_tokens_neox': 892, 'n_words': 131}