<commit_before>module.exports = function(grunt) {
    grunt.loadNpmTasks('grunt-typescript');
    grunt.loadNpmTasks('grunt-mocha-phantomjs');
    grunt.initConfig({
        typescript: {
            main: {
                src: ['src/mml2miku.ts'],
                dest: 'js/mml2miku.js',
                options: {
                    comments: true,
                    // target: 'es5',
                }
            },
            test: {
                src: ['tests/testmml2miku.ts'],
                // dest: 'tests/testmml2miku.js',
                options: {
                    module: 'commonjs',
                    comments: true,
                    // target: 'es5',
                }
            }
        },
        mocha_phantomjs: {
            all: ['test.html']
        }
    });
    grunt.registerTask('compile', ['typescript']);
    grunt.registerTask('test', ['mocha_phantomjs']);
};
<commit_msg>Change the command name of grunt to build<commit_after>module.exports = function(grunt) {
    grunt.loadNpmTasks('grunt-typescript');
    grunt.loadNpmTasks('grunt-mocha-phantomjs');
    grunt.initConfig({
        typescript: {
            main: {
                src: ['src/mml2miku.ts'],
                dest: 'js/mml2miku.js',
                options: {
                    comments: true,
                    // target: 'es5',
                }
            },
            test: {
                src: ['tests/testmml2miku.ts'],
                // dest: 'tests/testmml2miku.js',
                options: {
                    module: 'commonjs',
                    comments: true,
                    // target: 'es5',
                }
            }
        },
        mocha_phantomjs: {
            all: ['test.html']
        }
    });
    grunt.registerTask('build', ['typescript']);
    grunt.registerTask('test', ['mocha_phantomjs']);
};

{'fraction_non_alphanumeric': 0.1381156316916488, 'fraction_numerical': 0.006423982869379015, 'mean_word_length': 1.193661971830986, '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': '6382478', 'n_tokens_mistral': 567, 'n_tokens_neox': 530, 'n_words': 77}