grunt-dispatch

0.2.1 • Public • Published

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.

Package Sidebar

Install

npm i grunt-dispatch

Weekly Downloads

4

Version

0.2.1

License

none

Last publish

Collaborators

  • dexteryy