%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/public_html/dg/assets/global/plugins/bootstrap-confirmation/
Upload File :
Create Path :
Current File : /home/ugotscom/public_html/dg/assets/global/plugins/bootstrap-confirmation/Gruntfile.js

module.exports = function(grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),

        banner:
            '/*!\n'+
            ' * Bootstrap Confirmation <%= pkg.version %>\n'+
            ' * Copyright 2013 Nimit Suwannagate <ethaizone@hotmail.com>\n'+
            ' * Copyright <%= grunt.template.today("yyyy") %> Damien "Mistic" Sorel <http://www.strangeplanet.fr>\n'+
            ' * Licensed under the Apache License, Version 2.0 (the "License")\n'+
            ' */',

        // compress js
        uglify: {
            options: {
                banner: '<%= banner %>\n'
            },
            dist: {
                files: {
                    'bootstrap-confirmation.min.js': [
                        'bootstrap-confirmation.js'
                    ]
                }
            }
        },

        // jshint tests
        jshint: {
            lib: {
                files: {
                    src: [
                        'bootstrap-confirmation.js'
                    ]
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-contrib-jshint');

    grunt.registerTask('default', [
        'uglify'
    ]);
    
    grunt.registerTask('test', [
        'jshint'
    ]);
};

Zerion Mini Shell 1.0