<commit_before>/*global module */

(function () {
    'use strict';

    module.exports = function (grunt) {
        grunt.initConfig({
            pkg: grunt.file.readJSON('package.json'),
            uglify: {
                target: {
                    files: {
                        'min/<%= pkg.name %>.min.js': '<%= pkg.name %>.js'
                    }
                },
                options: {
                    mangle: true,
                    compress: {
                        'dead_code': false
                    },
                    output: {
                        'ascii_only': true
                    },
                    report: 'min',
                    preserveComments: 'some'
                }
            },
            nodeunit: {
                all: ['test/**/*.js']
            },
            jshint: {
                all: ['Gruntfile.js', '<%= pkg.name %>.js', 'test/**/*.js', 'lang/**/*.js'],
                options: {
                    'bitwise': true,
                    'camelcase': true,
                    'curly': true,
                    'eqeqeq': true,
                    'forin': true,
                    'funcscope': true,
                    'globalstrict': true,
                    'immed': true,
                    'maxlen': 500,
                    'newcap': true,
                    'noarg': true,
                    'nomen': true,
                    'nonew': true,
                    'nonstandard': true,
                    'notypeof': true,
                    'plusplus': true,
                    'regexp': true,
                    'strict': true,
                    'trailing': true,
                    'undef': true,
                    'white': true,
                    'noempty': true,
                    'quotmark': 'single'
                }
            },
            watch: {
                test: {
                    files: [
                        '<%= pkg.name %>.js',
                        'test/**/*.js',
                        'lang/**/*.js'
                    ],
                    tasks: ['nodeunit']
                },
                jshint: {
                    files: '<%= jshint.all %>',
                    tasks: ['jshint']
                }
            }
        });

        grunt.loadTasks('tasks');

        // These plugins provide necessary tasks.
        grunt.loadNpmTasks('grunt-contrib-nodeunit');<commit_msg>Update grunt file with new js files<commit_after>/*global module */

(function () {
    'use strict';

    module.exports = function (grunt) {
        grunt.initConfig({
            pkg: grunt.file.readJSON('package.json'),
            uglify: {
                target: {
                    files: {
                        'min/<%= pkg.name %>.min.js': '<%= pkg.name %>.js'
                    }
                },
                options: {
                    mangle: true,
                    compress: {
                        'dead_code': false
                    },
                    output: {
                        'ascii_only': true
                    },
                    report: 'min',
                    preserveComments: 'some'
                }
            },
            nodeunit: {
                all: ['test/**/*.js']
            },
            jshint: {
                all: ['Gruntfile.js', '<%= pkg.name %>.js', 'test/**/*.js', 'lang/**/*.js', 'tz/**/*.js'],
                options: {
                    'bitwise': true,
                    'camelcase': true,
                    'curly': true,
                    'eqeqeq': true,
                    'forin': true,
                    'funcscope': true,
                    'globalstrict': true,
                    'immed': true,
                    'maxlen': 500,
                    'newcap': true,
                    'noarg': true,
                    'nomen': true,
                    'nonew': true,
                    'nonstandard': true,
                    'notypeof': true,
                    'plusplus': true,
                    'regexp': true,
                    'strict': true,
                    'trailing': true,
                    'undef': true,
                    'white': true,
                    'noempty': true,
                    'quotmark': 'single'
                }
            },
            watch: {
                test: {
                    files: [
                        '<%= pkg.name %>.js',
                        'test/**/*.js',
                        'lang/**/*.js',
                        'tz/**/*.js'
                    ],
                    tasks: ['nodeunit']
                },
                jshint: {
                    files: '<%= jshint.all %>',
                    tasks: ['jshint']
                }
            }
        });

        grunt.loadTasks('tasks');

        // These plugins provide necessary tasks.
        grunt.loadNpmTasks('grunt-contrib-nodeunit');
{'fraction_non_alphanumeric': 0.132821962050868, 'fraction_numerical': 0.0012111425111021397, 'mean_word_length': 0.7163145133356426, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3040695', 'n_tokens_mistral': 1297, 'n_tokens_neox': 1153, 'n_words': 227}