<commit_before>module.exports = function(grunt) {
    grunt.loadNpmTasks("grunt-ts");

    function typescriptConfig(watch) {
        return {
            // The source TypeScript files, http://gruntjs.com/configuring-tasks#files
            src: [
                "src/main/resources/META-INF/public-web-resources/ts/infrastructure/*.ts",
                "src/main/resources/META-INF/public-web-resources/ts/tasks/*.ts"
            ],
            // The source html files, https://github.com/grunt-ts/grunt-ts#html-2-typescript-support
            html: [
                "src/main/resources/META-INF/public-web-resources/ts/infrastructure/*.tpl.html",
                "src/main/resources/META-INF/public-web-resources/ts/tasks/*.tpl.html"
            ],
            // If specified, generate this file that to can use for reference management
            reference: "src/main/resources/ts/_reference.ts",
            // If specified, generate an out.js file which is the merged js file
            out: 'src/main/resources/META-INF/public-web-resources/js/app/app.js',
            // If specified, the generate JavaScript files are placed here. Only works if out is not specified
//                outDir: 'src/main/resources/META-INF/public-web-resources/js',
            // If specified, watches this directory for changes, and re-runs the current target
            watch: watch ? 'src/main/resources/META-INF/public-web-resources/ts' : undefined,
            // Use to override the default options, http://gruntjs.com/configuring-tasks#options
            options: {
                // 'es3' (default) | 'es5'
                target: 'es3',
                // 'amd' (default) | 'commonjs'
                module: 'commonjs',
                // true (default) | false
                sourceMap: true,
                // true | false (default)
                declaration: false,
                // true (default) | false
                removeComments: true
            }
        };
    }

    grunt.initConfig({
        ts: {
            build: typescriptConfig(false),<commit_msg>fixed build<commit_after>module.exports = function(grunt) {
    grunt.loadNpmTasks("grunt-ts");

    function typescriptConfig(watch) {
        return {
            // The source TypeScript files, http://gruntjs.com/configuring-tasks#files
            src: [
                "src/main/resources/META-INF/public-web-resources/ts/infrastructure/*.ts",
                "src/main/resources/META-INF/public-web-resources/ts/tasks/*.ts"
            ],
            // The source html files, https://github.com/grunt-ts/grunt-ts#html-2-typescript-support
            html: [
                "src/main/resources/META-INF/public-web-resources/ts/infrastructure/*.tpl.html",
                "src/main/resources/META-INF/public-web-resources/ts/tasks/*.tpl.html"
            ],
            // If specified, generate this file that to can use for reference management
            reference: "src/main/resources/META-INF/public-web-resources/ts/_reference.ts",
            // If specified, generate an out.js file which is the merged js file
            out: 'src/main/resources/META-INF/public-web-resources/js/app/app.js',
            // If specified, the generate JavaScript files are placed here. Only works if out is not specified
//                outDir: 'src/main/resources/META-INF/public-web-resources/js',
            // If specified, watches this directory for changes, and re-runs the current target
            watch: watch ? 'src/main/resources/META-INF/public-web-resources/ts' : undefined,
            // Use to override the default options, http://gruntjs.com/configuring-tasks#options
            options: {
                // 'es3' (default) | 'es5'
                target: 'es3',
                // 'amd' (default) | 'commonjs'
                module: 'commonjs',
                // true (default) | false
                sourceMap: true,
                // true | false (default)
                declaration: false,
                // true (default) | false
                removeComments: true
            }
        };
    }

    grunt.initConfig({
        ts: {
            build: typescriptConfig(false),
{'fraction_non_alphanumeric': 0.12065683008091385, 'fraction_numerical': 0.0019038553069966682, 'mean_word_length': 1.720388349514563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6832466', 'n_tokens_mistral': 1186, 'n_tokens_neox': 1140, 'n_words': 242}