<commit_before>'use strict';

module.exports = function (grunt) {

    require('load-grunt-tasks')(grunt);

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        jshint: {
            options: {
                jshintrc: '.jshintrc',
                reporter: require('jshint-stylish')
            },
            target: ['Gruntfile.js', 'angular-poller.js', 'test/*.js']
        },
        karma: {
            develop: {
                configFile: 'karma.conf.js'
            },
            continuous: {
                configFile: 'karma.conf.js',
                singleRun: true,
                browsers: ['PhantomJS']
            }
        },
        coveralls: {
            options: {
                src: 'coverage/report/lcov.info'
            }
        },
        ngmin: {
            factory: {
                files: [
                    {
                        src: 'angular-poller.js',
                        dest: 'angular-poller.min.js'
                    }
                ]
            }
        },
        uglify: {
            options: {
                banner: '/*! <%= pkg.name %> v<%= pkg.version %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
            },
            dist: {
                files: {
                    '<%= pkg.name %>.min.js': ['angular-poller.min.js']
                }
            }
        }
    });

    grunt.registerTask('develop', ['jshint', 'karma:develop']);
    grunt.registerTask('test', ['jshint', 'karma:continuous', 'coveralls']);
    grunt.registerTask('default', ['test', 'ngmin', 'uglify']);
};<commit_msg>Updated grunt coveralls.<commit_after>'use strict';

module.exports = function (grunt) {

    require('load-grunt-tasks')(grunt);

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        jshint: {
            options: {
                jshintrc: '.jshintrc',
                reporter: require('jshint-stylish')
            },
            target: ['Gruntfile.js', 'angular-poller.js', 'test/*.js']
        },
        karma: {
            develop: {
                configFile: 'karma.conf.js'
            },
            continuous: {
                configFile: 'karma.conf.js',
                singleRun: true,
                browsers: ['PhantomJS']
            }
        },
        coveralls: {
            target: {
                src: 'coverage/report/lcov.info'
            }
        },
        ngmin: {
            factory: {
                files: [
                    {
                        src: 'angular-poller.js',
                        dest: 'angular-poller.min.js'
                    }
                ]
            }
        },
        uglify: {
            options: {
                banner: '/*! <%= pkg.name %> v<%= pkg.version %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
            },
            dist: {
                files: {
                    '<%= pkg.name %>.min.js': ['angular-poller.min.js']
                }
            }
        }
    });

    grunt.registerTask('develop', ['jshint', 'karma:develop']);
    grunt.registerTask('test', ['jshint', 'karma:continuous', 'coveralls']);
    grunt.registerTask('default', ['test', 'ngmin', 'uglify']);
};
{'fraction_non_alphanumeric': 0.1577805331680099, 'fraction_numerical': 0.0, 'mean_word_length': 1.1599732262382865, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6456365', 'n_tokens_mistral': 991, 'n_tokens_neox': 924, 'n_words': 132}