donejs / deploy

Deployment utilities for DoneJS
MIT License
4 stars 1 forks source link

Added configuration section do the donejs section of package.json #3

Closed mjstahl closed 9 years ago

mjstahl commented 9 years ago

Add a deploy section to the donejs property of package.json.

The properties needed for a given service should be provided in the service-*.js file.

mjstahl commented 9 years ago

Thinking it might look something like this where "globs" is a string, an object, or an array of strings or objects.

{
    "donejs": {
        "deploy": {
            "bundles-path": "dist/bundles",
            "globs": "assets/**/*.png",
            "service": {

            }
        }
    }
}
mjstahl commented 9 years ago

bundles-path should be optional and default to dist/bundles