<commit_before>module.exports = function(grunt) {

     'use strict';

    /**
     *
     * NOTE!
     * Install dependencies: npm install
     * Update external liberies: bower update
     * Build project: grunt build
     * When developing: grunt html
     *
    **/
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        project: {
            name: '<%= pkg.name %>',
            version: '<%= pkg.version %>'
        },

        // Bower Concat
        bower_concat: {
            all: {
                dest: 'src/assets/js/_bower.js',
                exclude: [
                    'modernizr'
                ],
                dependencies: {
                    'sass-bootstrap': 'jquery-legacy',
                    'owl.carousel': 'jquery-legacy',
                },
                bowerOptions: {
                    relative: false
                }
            }
        },

        // Concat
        concat: {
            js: {
                options: {
                    banner: '/* Package Name:<%= project.name %>, Version:<%= project.version %>, Date:<%= grunt.template.today("dd-mm-yyyy") %> */\n'
                },
                src: [
                    'src/assets/js/modernizr.custom.js',
                    'src/assets/js/_bower.js',
                ],
                dest: 'src/assets/js/plugins.js'
            }
        },

        // Min JS
        min: {
            dist: {
                files: [
                    {
                        src: 'src/assets/js/plugins.js',
                        dest: 'build/assets/js/plugins.min.js'
                    },
                    {
                        src: 'src/assets/js/app.js',
                        dest: 'build/assets/js/app.min.js'
                    }
                ]
            },
            js: {
                files: [
                    {
                        src: 'src/assets/js/app.js',
                        dest: 'build/assets/js/app.min.js'
                    }
                ]
            }
        },

        // Images
        imagemin: {
            dynamic: {
                files: [{
                    expand: true,
                    cwd: 'src/assets/gfx/',
                    src: ['**/*.{png,jpg,gif}'],
                    dest: 'build/assets/gfx/'
                }]
            }
        },

        // SASS
        sass: {
            dist: {
                options: {
                    outputStyle: 'compressed',
                    sourceComments: 'none'
                },
                files: [
                    {
                        src: 'src/assets/gfx/styles_screen.scss',
                        dest: 'build/assets/gfx/styles_screen.min.css'
                    }
                ]
            }
        },

        // Copy
        copy: {
            main: {
                files: [
                    {
                        expand: true,
                        cwd: 'bower_components/bootstrap-sass/lib/',
                        src: ['*'],
                        dest: 'src/assets/gfx/bootstrap-sass/lib',
                        filter: 'isFile'
                    },
                    {
                        expand: true,
                        cwd: 'bower_components/bootstrap-sass/fonts/',
                        src: ['*'],
                        dest: 'src/assets/gfx/bootstrap-sass/fonts/',
                        filter: 'isFile'
                    },
                    {
                        expand: true,
                        cwd: 'bower_components/owl.carousel/dist/assets/',
                        src: ['owl.carousel.min.css'],
                        dest: 'build/assets/gfx/owl.carousel/',
                        filter: 'isFile'
                    },
                ]
            }
        },

        // mustatic
        mustatic: {
            options: {
                src: 'src/templates',
                dest: 'build',
                ext: 'mustatic',
                navStates: true
            },
            build: {
                globals: {
                    lang    : 'en',
                    charset : 'utf-8',
                    assets: 'http://localhost:<%= connect.options.port %>/assets'
                }
            }
        },

        // Prettify
        prettify: {
            all: {
                expand: true,
                cwd: 'build/',
                ext: '.html',
                src: ['*.html'],
                dest: 'build/'
            },
        },

        // jshint
        jshint: {
            all: [<commit_msg>Update Prettify config<commit_after>module.exports = function(grunt) {

     'use strict';

    /**
     *
     * NOTE!
     * Install dependencies: npm install
     * Update external liberies: bower update
     * Build project: grunt build
     * When developing: grunt html
     *
    **/
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        project: {
            name: '<%= pkg.name %>',
            version: '<%= pkg.version %>'
        },

        // Bower Concat
        bower_concat: {
            all: {
                dest: 'src/assets/js/_bower.js',
                exclude: [
                    'modernizr'
                ],
                dependencies: {
                    'sass-bootstrap': 'jquery-legacy',
                    'owl.carousel': 'jquery-legacy',
                },
                bowerOptions: {
                    relative: false
                }
            }
        },

        // Concat
        concat: {
            js: {
                options: {
                    banner: '/* Package Name:<%= project.name %>, Version:<%= project.version %>, Date:<%= grunt.template.today("dd-mm-yyyy") %> */\n'
                },
                src: [
                    'src/assets/js/modernizr.custom.js',
                    'src/assets/js/_bower.js',
                ],
                dest: 'src/assets/js/plugins.js'
            }
        },

        // Min JS
        min: {
            dist: {
                files: [
                    {
                        src: 'src/assets/js/plugins.js',
                        dest: 'build/assets/js/plugins.min.js'
                    },
                    {
                        src: 'src/assets/js/app.js',
                        dest: 'build/assets/js/app.min.js'
                    }
                ]
            },
            js: {
                files: [
                    {
                        src: 'src/assets/js/app.js',
                        dest: 'build/assets/js/app.min.js'
                    }
                ]
            }
        },

        // Images
        imagemin: {
            dynamic: {
                files: [{
                    expand: true,
                    cwd: 'src/assets/gfx/',
                    src: ['**/*.{png,jpg,gif}'],
                    dest: 'build/assets/gfx/'
                }]
            }
        },

        // SASS
        sass: {
            dist: {
                options: {
                    outputStyle: 'compressed',
                    sourceComments: 'none'
                },
                files: [
                    {
                        src: 'src/assets/gfx/styles_screen.scss',
                        dest: 'build/assets/gfx/styles_screen.min.css'
                    }
                ]
            }
        },

        // Copy
        copy: {
            main: {
                files: [
                    {
                        expand: true,
                        cwd: 'bower_components/bootstrap-sass/lib/',
                        src: ['*'],
                        dest: 'src/assets/gfx/bootstrap-sass/lib',
                        filter: 'isFile'
                    },
                    {
                        expand: true,
                        cwd: 'bower_components/bootstrap-sass/fonts/',
                        src: ['*'],
                        dest: 'src/assets/gfx/bootstrap-sass/fonts/',
                        filter: 'isFile'
                    },
                    {
                        expand: true,
                        cwd: 'bower_components/owl.carousel/dist/assets/',
                        src: ['owl.carousel.min.css'],
                        dest: 'build/assets/gfx/owl.carousel/',
                        filter: 'isFile'
                    },
                ]
            }
        },

        // mustatic
        mustatic: {
            options: {
                src: 'src/templates',
                dest: 'build',
                ext: 'mustatic',
                navStates: true
            },
            build: {
                globals: {
                    lang    : 'en',
                    charset : 'utf-8',
                    assets: 'http://localhost:<%= connect.options.port %>/assets'
                }
            }
        },

        // Prettify
        prettify: {
            options: {
                indent: 4
            },
            all: {
                expand: true,
                cwd: 'build/',
                ext: '.html',
                src: ['*.html'],
                dest: 'build/'
            }
        },

        // jshint
        jshint: {
            all: [
{'fraction_non_alphanumeric': 0.11940619621342513, 'fraction_numerical': 0.00032271944922547335, 'mean_word_length': 0.6965328467153284, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '446401', 'n_tokens_mistral': 2506, 'n_tokens_neox': 2266, 'n_words': 359}