<commit_before>module.exports = function (grunt) {
    grunt.initConfig({
        appDir: "web/assets",
        builtDir: "web/assets-built",
        requirejs: {
            dist: {
                options: {
                    maingConfigFile: '<%= appDir %>/js/common.js',
                    appDir: '<%= appDir %>',
                    baseUrl: './js',
                    dir: '<%= builtDir %>',
                    optimizeCss: "none",
                    optimize: "none",
                    paths: {
                        angular: "../vendor/angular/angular",
                        bootstrap: "../vendor/bootstrap/dist/js/bootstrap",
                        domReady: "../vendor/requirejs-domready/domReady",
                        jquery: "../vendor/jquery/dist/jquery",
                        ngResource: '../vendor/angular-resource/angular-resource',
                        ngRoute: '../vendor/angular-route/angular-route',
                        ngSanitize: '../vendor/angular-sanitize/angular-sanitize'
                    },
                    modules: [
                        {
                            name: 'common',
                            include: ['jquery', 'bootstrap', 'ngSanitize', 'angular', 'ngResource', 'ngRoute']
                        },
                        {
                            name: 'app/homepage',
                            exclude: ['common']
                        }
                    ]
                }
            }
        },
        compass: {
            dist: {
                options: {
                    sassDir: '<%= builtDir %>/sass',
                    cssDir: '<%= builtDir %>/css',
                    environment: 'production',
                    outputStyle: 'compressed'
                }
            },
            dev: {
                options: {
                    sassDir: '<%= appDir %>/sass',
                    cssDir: '<%= appDir %>/css',
                    outputStyle: 'expanded'
                }
            }
        },
        uglify: {
            dist: {
                files: [
                    {
                        expand: true,
                        cwd: '<%= builtDir %>',
                        src: 'js/*.js',
                        dest: '<%= builtDir %>'
                    }
                ]
            }
        },
        watch: {
            compass: {
                files: '<%= appDir %>/sass/*.scss',
                tasks: ['compass:dev']
            }
        }
    });

    grunt.registerTask('dev', [
        'requirejs:dist',
        'compass:dev'
    ]);

    grunt.registerTask('production', [
        'requirejs:dist',
        'compass:dist',
        'uglify:dist'
    ]);

    require('load-grunt-tasks')(grunt);
}; <commit_msg>no requirejs build for dev task<commit_after>module.exports = function (grunt) {
    grunt.initConfig({
        appDir: "web/assets",
        builtDir: "web/assets-built",
        requirejs: {
            dist: {
                options: {
                    maingConfigFile: '<%= appDir %>/js/common.js',
                    appDir: '<%= appDir %>',
                    baseUrl: './js',
                    dir: '<%= builtDir %>',
                    optimizeCss: "none",
                    optimize: "none",
                    paths: {
                        angular: "../vendor/angular/angular",
                        bootstrap: "../vendor/bootstrap/dist/js/bootstrap",
                        domReady: "../vendor/requirejs-domready/domReady",
                        jquery: "../vendor/jquery/dist/jquery",
                        ngResource: '../vendor/angular-resource/angular-resource',
                        ngRoute: '../vendor/angular-route/angular-route',
                        ngSanitize: '../vendor/angular-sanitize/angular-sanitize'
                    },
                    modules: [
                        {
                            name: 'common',
                            include: ['jquery', 'bootstrap', 'ngSanitize', 'angular', 'ngResource', 'ngRoute']
                        },
                        {
                            name: 'app/homepage',
                            exclude: ['common']
                        }
                    ]
                }
            }
        },
        compass: {
            dist: {
                options: {
                    sassDir: '<%= builtDir %>/sass',
                    cssDir: '<%= builtDir %>/css',
                    environment: 'production',
                    outputStyle: 'compressed'
                }
            },
            dev: {
                options: {
                    sassDir: '<%= appDir %>/sass',
                    cssDir: '<%= appDir %>/css',
                    outputStyle: 'expanded'
                }
            }
        },
        uglify: {
            dist: {
                files: [
                    {
                        expand: true,
                        cwd: '<%= builtDir %>',
                        src: 'js/*.js',
                        dest: '<%= builtDir %>'
                    }
                ]
            }
        },
        watch: {
            compass: {
                files: '<%= appDir %>/sass/*.scss',
                tasks: ['compass:dev']
            }
        }
    });

    grunt.registerTask('dev', [
        'compass:dev'
    ]);

    grunt.registerTask('production', [
        'requirejs:dist',
        'compass:dist',
        'uglify:dist'
    ]);

    require('load-grunt-tasks')(grunt);
}; 
{'fraction_non_alphanumeric': 0.133764832793959, 'fraction_numerical': 0.0, 'mean_word_length': 0.8414432307183052, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '705050', 'n_tokens_mistral': 1412, 'n_tokens_neox': 1301, 'n_words': 208}