FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

module.exports = function (grunt) { "use strict"; // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON("package.json"), meta: { banner: "/*!\n * \n * \n * @version - \n * @author \n */\n" }, jshint: { all: { src: ["src/*.js", "test/spec/*.js"], options: { jshintrc: ".jshintrc" } } }, uglify: { dist: { src: [ "", "src/paypal-button.js" ], dest: "dist/paypal-button.min.js", options: { banner: "" } }, bundled: { src: [ "", "lib/MiniCart/src/minicart.js", "src/paypal-button.js" ], dest: "dist/paypal-button-minicart.min.js", options: { banner: "" } } } }); // Load grunt tasks from npm packages grunt.loadNpmTasks("grunt-contrib-jshint"); grunt.loadNpmTasks("grunt-contrib-uglify"); grunt.loadNpmTasks('grunt-update-submodules'); // Default task. grunt.registerTask("default", ["jshint", "update_submodules", "uglify"]); };

Back | FazBrowse Home | New Git URL