Grunt integration to upload a cubbles-webpackage into a cubbles-base.
npm install cubx-grunt-webpackage-upload[![NPM Version][npm-image]][npm-url] 
Grunt integration of the [cubx-webpackage-uploader] (https://github.com/cubbles/cubx-webpackage-uploader).
~0.4.5If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
``shell`
npm install cubx-grunt-webpackage-upload --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
`js`
grunt.loadNpmTasks('cubx-grunt-webpackage-upload');
`js`
uploadConfigs: {
dryRun: {
url: 'https://cubbles.world/sandbox',
proxy: '',
dryRun: true
},
release: {
url: 'https://cubbles.world/sandbox',
proxy: ''
}
}
#### uploadConfigs.{configName}
Type: string
A key to identify the uploadConfig.
#### uploadConfigs.{configName}.url
Type: string'https://cubbles.world/sandbox'
Default value:
A url pointing to a named store (here 'sandbox') within a cubbles-base.
#### uploadConfigs.{configName}.proxy
Type: string''
Default value:
A proxy url, if you are behind a proxy.
#### uploadConfigs.{configName}.dryRun
Type: booleanfalse
Default value:
Setting the value to true executes the upload procedure (including authentication and permissions check) without any data transfer.
The result contains a list of files that would be uploaded - as well as a list of files the will be ignored from an upload. So a _dryRun_ is perfect to check the configuration of your (optional) _.cubblesignore_ file of your webpackage.
#### uploadConfigs.{configName}.debug
Type: booleanfalse
Default value:
Log into the console on debug -level.
Additionaly a list of webpackages to upload can be pre-specified
`js``
"uploadWebpackages": [
"my-package-one",
"my-package-two"
]
[npm-image]: https://img.shields.io/npm/v/cubx-grunt-webpackage-upload.svg
[npm-url]: https://npmjs.org/package/cubx-grunt-webpackage-upload