Mini Shell

Direktori : /proc/self/root/home/athamevents/public_html/admin/assets/lib/bootstrap-duallistbox/
Upload File :
Current File : //proc/self/root/home/athamevents/public_html/admin/assets/lib/bootstrap-duallistbox/Gruntfile.js

module.exports = function (grunt) {

  grunt.initConfig({

    // Import package manifest
    pkg: grunt.file.readJSON("bootstrap-duallistbox.jquery.json"),

    // Banner definitions
    meta: {
      banner: "/*\n" +
        " *  <%= pkg.title || pkg.name %> - v<%= pkg.version %>\n" +
        " *  <%= pkg.description %>\n" +
        " *  <%= pkg.homepage %>\n" +
        " *\n" +
        " *  Made by <%= pkg.author.name %>\n" +
        " *  Under <%= pkg.licenses[0].type %> License\n" +
        " */\n"
    },

    // Concat definitions
    concat: {
      js: {
        src: ["src/jquery.bootstrap-duallistbox.js"],
        dest: "dist/jquery.bootstrap-duallistbox.js"
      },
      css: {
        src: ["src/bootstrap-duallistbox.css"],
        dest: "dist/bootstrap-duallistbox.css"
      },
      options: {
        banner: "<%= meta.banner %>"
      }
    },

    // Lint definitions
    jshint: {
      files: ["src/jquery.bootstrap-duallistbox.js"],
      options: {
        jshintrc: ".jshintrc"
      }
    },

    // Minify definitions
    uglify: {
      js: {
        src: ["dist/jquery.bootstrap-duallistbox.js"],
        dest: "dist/jquery.bootstrap-duallistbox.min.js"
      },
      options: {
        banner: "<%= meta.banner %>"
      }
    },

    cssmin: {
      css: {
        src: ["dist/bootstrap-duallistbox.css"],
        dest: "dist/bootstrap-duallistbox.min.css"
      },
      options: {
        banner: "<%= meta.banner %>"
      }
    }

  });

  grunt.loadNpmTasks("grunt-contrib-concat");
  grunt.loadNpmTasks("grunt-contrib-jshint");
  grunt.loadNpmTasks("grunt-contrib-uglify");
  grunt.loadNpmTasks("grunt-contrib-cssmin");

  grunt.registerTask("default", ["jshint", "concat", "uglify", "cssmin"]);
  grunt.registerTask("travis", ["jshint"]);

};

Zerion Mini Shell 1.0