A microkernel for modular javascript, a toolchain for modern front-end, a micro-framework for growable WebApp.

grunt-dispatch

  • Grunt tasks for copying the necessary files of package/components directory to your src/build directory

Config Example


dispatch: {
    options: {
        directory: "bower_components"
    },
    "ozjs": {
        use: {
            "js/lib/": "oz.js"
        }
    },
    "mo": {
        use: {
            "js/mod/mo/": ["**/*.js", "!**/Gruntfile.js"]
        }
    },
    "moui": {
        use: [{
            cwd: "css/moui",
            src: ["**"],
            dest: "css/moui/"
        }, {
            cwd: "asset",
            src: ["**"],
            dest: "pics/"
        }, {
            src: ["**/*.js", "!**/Gruntfile.js"],
            dest: "js/mod/moui/"
        }]
    }
},

Source code

More References

See OzJS Project Homepage

Release History

See OzJS Release History

License

Copyright (c) 2010 - 2013 dexteryy
Licensed under the MIT license.