<commit_before>module.exports = function (grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        uglify: {
            options: {
                banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
            },
            build: {
                src: 'src/<%= pkg.name %>.js',
                dest: 'build/<%= pkg.name %>.min.js'
            }
        },
        "http-server": {
            dev: {
                root: ".",
                port: 8000,
                host: "127.0.0.1",
                showDir: false,
                autoIndex: false,
                ext: "html",
                runInBackground: false
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-http-server');
    grunt.registerTask('default', ['http-server:dev']);
    grunt.registerTask('build', ['uglify']);
};<commit_msg>allow http server to show folder index<commit_after>module.exports = function (grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        uglify: {
            options: {
                banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
            },
            build: {
                src: 'src/<%= pkg.name %>.js',
                dest: 'build/<%= pkg.name %>.min.js'
            }
        },
        "http-server": {
            dev: {
                root: ".",
                port: 8000,
                host: "127.0.0.1",
                showDir: true,
                autoIndex: true,
                ext: "html",
                runInBackground: false
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-http-server');
    grunt.registerTask('default', ['http-server:dev']);
    grunt.registerTask('build', ['uglify']);
};
{'fraction_non_alphanumeric': 0.17030335284725917, 'fraction_numerical': 0.010643959552953698, 'mean_word_length': 1.3767383059418459, 'pattern_counts': {'":': 2, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4685437', 'n_tokens_mistral': 625, 'n_tokens_neox': 562, 'n_words': 90}