Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/litek/grunt-azure-storage
Grunt task for copying files to azure storage
https://github.com/litek/grunt-azure-storage
Last synced: 10 days ago
JSON representation
Grunt task for copying files to azure storage
- Host: GitHub
- URL: https://github.com/litek/grunt-azure-storage
- Owner: litek
- Created: 2013-03-22T14:27:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-22T14:30:32.000Z (over 11 years ago)
- Last Synced: 2024-09-25T11:20:57.778Z (about 2 months ago)
- Language: JavaScript
- Size: 99.6 KB
- Stars: 4
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grunt-azure-storage
Grunt task for copying files to an azure storage blob.
Azure SDK uses by default the environment variables AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_ACCESS_KEY.
Custom connection arguments can be set in service.## Options and default values
```javascript
{
serviceOptions: [], // custom arguments to azure.createBlobService
containerName: null, // container name, required
containerDelete: false, // deletes container if it exists
containerOptions: {publicAccessLevel: "blob"}, // container options
metadata: {}, // file metadata properties
gzip: false // gzip files
};
```## Gruntfile example
```javascript
grunt.initConfig({
'azure-storage': {
options: {
containerName: 'assets',
gzip: true
},
files: 'assets/**/*'
}
});
```