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

    // 1. All configuration goes here
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),

        qunit: {
            hello: [
                'test/helloQUnit.html'
             ]
        },

        concat: {
            igv: {
                src: [
                    'js/**/*.js',
                    'vendor/inflate.js',
                    'vendor/zlib_and_gzip.min.js',
                    'vendor/colorpickers/vanderlee-github-io/jquery.colorpicker.js',
                    'vendor/colorpickers/vanderlee-github-io/i18n/jquery.ui.colorpicker-nl.js',
                    'vendor/colorpickers/vanderlee-github-io/swatches/jquery.ui.colorpicker-pantone.js',
                    'vendor/colorpickers/vanderlee-github-io/parts/jquery.ui.colorpicker-rgbslider.js',
                    'vendor/colorpickers/vanderlee-github-io/parts/jquery.ui.colorpicker-memory.js',
                    'vendor/colorpickers/vanderlee-github-io/parsers/jquery.ui.colorpicker-cmyk-parser.js',
                    'vendor/colorpickers/vanderlee-github-io/parsers/jquery.ui.colorpicker-cmyk-percentage-parser.js'
                ],
                dest: 'dist/igv-all.js'
            }
        },


        uglify: {
            options: {
                mangle: false,
                sourceMap: true
            },

            igv: {
                src: 'dist/igv-all.js',
                dest: 'dist/igv-all.min.js'
            }
        },

        md2html: {
            options: {
                layout: 'docs/api_layout.html'
            },
            igv: {
                src: ['docs/api.md'],
                dest: 'dist/api.html'
            }
        }

    });

    // 3. Where we tell Grunt we plan to use this plug-in.
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-contrib-cssmin');
    grunt.loadNpmTasks('grunt-md2html');
    grunt.loadNpmTasks('grunt-contrib-qunit');

    // 4. Where we tell Grunt what to do when we type "grunt" into the terminal.
    //grunt.registerTask('default', ['concat:igvexp', 'uglify:igvexp']);
    grunt.registerTask('default', ['concat:igv', 'uglify:igv', 'md2html:igv']);


};
<commit_msg>Gruntfile.js. Checking unit test task<commit_after>module.exports = function (grunt) {

    // 1. All configuration goes here
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),

        qunit: {
            hello: [
                'test/helloQUnit.html'
             ]
        },

        concat: {
            igv: {
                src: [
                    'js/**/*.js',
                    'vendor/inflate.js',
                    'vendor/zlib_and_gzip.min.js',
                    'vendor/colorpickers/vanderlee-github-io/jquery.colorpicker.js',
                    'vendor/colorpickers/vanderlee-github-io/i18n/jquery.ui.colorpicker-nl.js',
                    'vendor/colorpickers/vanderlee-github-io/swatches/jquery.ui.colorpicker-pantone.js',
                    'vendor/colorpickers/vanderlee-github-io/parts/jquery.ui.colorpicker-rgbslider.js',
                    'vendor/colorpickers/vanderlee-github-io/parts/jquery.ui.colorpicker-memory.js',
                    'vendor/colorpickers/vanderlee-github-io/parsers/jquery.ui.colorpicker-cmyk-parser.js',
                    'vendor/colorpickers/vanderlee-github-io/parsers/jquery.ui.colorpicker-cmyk-percentage-parser.js'
                ],
                dest: 'dist/igv-all.js'
            }
        },


        uglify: {
            options: {
                mangle: false,
                sourceMap: true
            },

            igv: {
                src: 'dist/igv-all.js',
                dest: 'dist/igv-all.min.js'
            }
        },

        md2html: {
            options: {
                layout: 'docs/api_layout.html'
            },
            igv: {
                src: ['docs/api.md'],
                dest: 'dist/api.html'
            }
        }

    });

    // 3. Where we tell Grunt we plan to use this plug-in.
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-contrib-cssmin');
    grunt.loadNpmTasks('grunt-md2html');
    grunt.loadNpmTasks('grunt-contrib-qunit');

    // 4. Where we tell Grunt what to do when we type "grunt" into the terminal.
    //grunt.registerTask('default', ['concat:igvexp', 'uglify:igvexp']);
    //grunt.registerTask('default', ['concat:igv', 'uglify:igv', 'md2html:igv']);
    grunt.registerTask('default', ['qunit:hello', 'concat:igv', 'uglify:igv', 'md2html:igv']);


};

{'fraction_non_alphanumeric': 0.13831376734258272, 'fraction_numerical': 0.0036286019210245465, 'mean_word_length': 1.5761407366684992, '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': '6288907', 'n_tokens_mistral': 1548, 'n_tokens_neox': 1485, 'n_words': 183}