{"_id":"grunt-s3-sync","_rev":"27-129291fe32b8c6fec39fb48ad47d3d73","name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","dist-tags":{"latest":"0.4.3"},"versions":{"0.1.0":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.1.0","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"map-stream":"0.0.2","queue-async":"~1.0.4","through":"~2.3.4","crypto":"0.0.3","mime":"~1.2.9","backoff":"~2.3.0","xtend":"~2.0.6","knox":"~0.8.3","event-stream":"~3.0.16","once":"~1.1.1"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.1.0","dist":{"shasum":"21f5d09d6899356c2ae708e3a936d5b23807e305","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.1.0.tgz","integrity":"sha512-2YBMd0QVnKSFxKqFdYZ8gCVOCcuwcAdaLjwE4jYzBfSm9a8KjKPA8gPRcfnSk0QtkJHDCuxyNnSKfYlag+78rw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdOUlGsThLGCKl/6GwNfhnIFRd3K5Um+U6BhSJTGaX7wIhANi/dgWsT+AKo77raGR98Q7loKdyEAg9tjnXqR3mvEkA"}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"calvein","email":"calvein@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"}]},"0.1.1":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.1.1","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"level":"~0.10.0","s3-sync":"~0.1.1"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.1.1","dist":{"shasum":"a45395525fa824c4fa1e63e6b397715ae3a0f064","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.1.1.tgz","integrity":"sha512-uqlkEs/jd1OrLoA6dUQZcmPhOKVDPNSgiPQPbVpzfVQu7t/FDgbeuAZM1BvbFY4G7GxB0q3RUwAJ/X53Bk4kHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaINz0O6SuAdTp4ZBslj6Czx/sfQq+yi7JQZauPNzcZQIhAObY6cqb3ZqLWofJsxci0gpZBbCUK46fkePHr9/t9Zzg"}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"calvein","email":"calvein@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"}]},"0.2.0":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.2.0","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"level":"~0.10.0","s3-sync":"~0.1.1","rimraf":"~2.2.2"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.2.0","dist":{"shasum":"cdd8766e8db3b09a23cf3080d83cbd8398c5b906","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.2.0.tgz","integrity":"sha512-3FO2n+C3YD938DIkQqHQk45SLo4Jtd+hxulXOv1devZwVm8i18cTu4o6w6i961olLDsYMwbr/zIwv8JEwlcA1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVecOTVCIXVKrlT3tbbfxOq/gBWdThDFxMAwfFi/Sy6wIhAJvqw6C7HhGEvu0XoGgYdQbC0WpQP2GeCUouNvjdfmJt"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"calvein","email":"calvein@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"}]},"0.2.1":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.2.1","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"level":"~0.10.0","s3-sync":"~0.2.0","rimraf":"~2.2.2"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.2.1","dist":{"shasum":"a7ab22e7a25c6a00d752ece068f011dbb8457efe","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.2.1.tgz","integrity":"sha512-kf8oh3oHjrU7nW/hs3P7wND9N+s4AJCIf0b8XRVRBJD2VxVMgqEJO2V0QMY6T/0nuYQTQ2kVi00ULbv9NwmVOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq40+s2zDdDLoDP/mGymQV7aDNthf+F9BP14DcVOxThQIgWfJ1nppff2MR07UU5WBtCUkYT5vXPlL6EivQIz22wQQ="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"calvein","email":"calvein@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"}]},"0.3.0":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.3.0","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"level":"~0.10.0","s3-sync":"~0.3.0","rimraf":"~2.2.2","through":"~2.3.4"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.3.0","dist":{"shasum":"db0f6a51a7811da7d5379ee64ac317d36647e4c9","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.3.0.tgz","integrity":"sha512-92chlayH1wPlfALdXBBVeEsLLNF7vauiNXRYZSfnC08UnupuFY1OlZK+35LaRmDcdfalgrYgvGpmrxikGAZAeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGM1POdJsUdtdUW3yp6BXU4Zkl1B2sBmRP59IrHAvnPXAiBU2yIc86LUu4q5rIXHS1Gf8EGPVT7sv3iXEEvgZdp47A=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"},{"name":"bockit","email":"james@jameshiscock.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"}]},"0.3.1":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.3.1","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"level":"~0.10.0","s3-sync":"~0.3.0","rimraf":"~2.2.2","through":"~2.3.4","async":"~0.2.9"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.3.1","dist":{"shasum":"13569e2d0b752af4ca887bc9feecf821da082127","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.3.1.tgz","integrity":"sha512-QRjLi+0jgRzHCaAQU6HSN3bkpUl37hlkfoNuBk5FzTORPENXgeSTNVcsizSG087BS1cYJzW1WZinQ3i1ZZF2Lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyQ+JtOUWWfz8tZiUIb+gLXdbWFVuSjpLyO8k+jW4suAiEAiQoyFlDgzd7Ev4jTspPPwob0ZSUnU2GCfd15Zh1DUvg="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"},{"name":"bockit","email":"james@jameshiscock.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"}]},"0.4.0":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.4.0","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"level":"~0.10.0","s3-sync":"~0.3.0","rimraf":"~2.2.2","through":"~2.3.4","async":"~0.2.9"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.4.0","dist":{"shasum":"b13b3e9663f1ed6cad9233c6f01f4a8f4d4838a0","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.4.0.tgz","integrity":"sha512-qHknCacaUa+imkYU/1F0R/uDUN3h635RmNISwhH7ZgPio1MDLzm77pV3tdq/5DnRzOPPXSP7HBshsN3++nOBbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1Zy+Ep/bhjhf5ILQp1C4wCZrfpwceiwvgDzTm5q3LtAiBKUETlJZye3e2vYwgyFwwNyvoHreEz/HpQ3USibgP+4Q=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"bockit","email":"james@jameshiscock.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"},{"name":"bockit","email":"james@jameshiscock.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"}]},"0.4.1":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.4.1","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"s3-sync":"~0.3.0","rimraf":"~2.2.2","through":"~2.3.4","async":"~0.2.9"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.4.1","dist":{"shasum":"0c20273875371e0523715687cd6a9ba4d1f079a2","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.4.1.tgz","integrity":"sha512-wouctpZDOt+Od2CGCK4MMt1NrMxf3V6FipxFCtFLwpFqRZyZ1HnXYbktjtHciVoMVpw4DblaEhoLavVA302Spg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbdo2g72RVSu3TXuUMM/FF6bvth2WR9MLOuJkgwgtgPgIhAM1wXzIBJ3o0QizHltpeJininxuhFDnIv4aPawtnOVXc"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"},{"name":"bockit","email":"james@jameshiscock.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"}]},"0.4.2":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.4.2","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"s3-sync":"~0.5.2","rimraf":"~2.2.2","through":"~2.3.4","async":"~0.2.9"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.4.2","dist":{"shasum":"e9694030754288480bd7b7415517a509c6f44e25","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.4.2.tgz","integrity":"sha512-tqlwdwm3M5WOE0sD23MCv179YDQej83+CFDAdvuuHUyx3EOpoCenU8tAVb+KSB5kFqGeRjMdiMSS5kodmvcTqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQMEGCWgmsMAVxj0NrLG06zS7RQDOh4tPdBysT5i6QHQIgOGW2MfcLD/CQYH/ZshD3xTCZnGuTrxCCwUF1u3B3MjU="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"calvein","email":"calvein@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"},{"name":"bockit","email":"james@jameshiscock.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"}]},"0.4.3":{"name":"grunt-s3-sync","description":"A streaming interface for uploading multiple files to S3","version":"0.4.3","homepage":"https://github.com/smallmultiples/grunt-s3-sync","author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"licenses":[{"type":"MIT","url":"https://github.com/smallmultiples/grunt-s3-sync/blob/master/LICENSE-MIT"}],"main":"Gruntfile.coffee","engines":{"node":">= 0.8.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"s3-sync":"~0.6.0","rimraf":"~2.2.2","through":"~2.3.4","async":"~0.2.9"},"devDependencies":{},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","s3","amazon","aws"],"_id":"grunt-s3-sync@0.4.3","dist":{"shasum":"0c1a7c0248e9780fd48a506b1c2a5a44700133a1","tarball":"https://registry.npmjs.org/grunt-s3-sync/-/grunt-s3-sync-0.4.3.tgz","integrity":"sha512-XNvxdpcv+9KvghUg12/Uhnu+XjpSsMglfyh1QAcDkf+Owr31qqt0cXj/8PC0/cb7BYe3GOMsMlh9zj0Y253p8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8pEDWUHUtaQegYS8VVsrCdsaIw9ednoTKzqa6/KN5gwIgQ6mldLpQdK6NObRkqaXaBCoiJTQH89LWKkXEpPRjVus="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"calvein","email":"calvein@gmail.com"},"maintainers":[{"name":"calvein","email":"calvein@gmail.com"},{"name":"bockit","email":"james@jameshiscock.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"}]}},"readme":"# grunt-s3-sync\n\n> A streaming interface for uploading multiple files to S3\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-s3-sync --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-s3-sync');\n```\n\n## The \"s3-sync\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `s3-sync` to the data object passed into `grunt.initConfig()`.\n\n### Options\n\n#### options.key\nType: `String`\n\nYour AWS access key, **mandatory**.\n\n#### options.secret\nType: `String`\n\nYour AWS secret, **mandatory**.\n\n#### options.bucket\nType: `String`\n\nThe bucket to upload to, **mandatory**.\n\n#### options.concurrency\nType: `Number`\n\nThe maximum amount of files to upload concurrently.\n\n#### options.retries\nType: `Number`\n\nThe maximum number of times to retry uploading a file before failing. By default the value is 7.\n\n#### options.headers\nType: `Object`\n\nAdditional headers to include on each file.\n\n#### options.db\nType: `Function`\n\nA [level](http://github.com/level/level) database to use as a local cache\nfor file uploads. This way, you can minimize the frequency you have to\nhit S3 and speed up the whole process considerably.\n\nNeeds to be passed as a function that returns the db instance - otherwise\nit'll get mangled by grunt's option API.\n\n#### files.gzip\nType: `Boolean`\n\nPass this to a files object to enable gzip compression, e.g.\n\n``` javascript\n{\n  root: __dirname\n  src: '/**/*.html',\n  dest: '/',\n  gzip: true\n}\n```\n\n#### files.compressionLevel\nType: `Number`\n\nThis argument will set compression to the desired level. The default is 6 and the maximum you can set is 9. This is only useful if `gzip: true`. You can find more about this [here](http://zlib.net/manual.html#Advanced).\n\n#### files.root\nType: `String`\n\nThis is a mandatory argument. Pass this to a files object to determine the \"root\" directory for uploads, e.g.\nthe following will upload the files in `build` to the bucket's root:\n\nThe purpose is to determine the base path of the files so that relative paths from that base path `root` can be preserved when uploaded to S3. Without it, we don't know relative to what to make the paths on S3.\n\n``` javascript\n{\n  root: __dirname + 'build'\n  src: 'build/**'\n  dest: '/'\n}\n```\n\n#### Note\nThe project is based on [knox](http://ghub.io/knox), all knox options are available in the\n`options` object.\n\n### Usage Examples\n\nTemplate strings in grunt will allow you to easily include values from other files. The below example\ndemonstrates loading aws settings from another file, Where grunt-aws.json is just a json key:value file like package.json. (Special thanks to @nanek) This is **important because you should never check in your S3 credentials to github! Load them from an external file that is outside of the repo.**\n\n```js\ngrunt.initConfig({\n  aws: grunt.file.readJSON('~/grunt-aws.json'),\n  's3-sync': {\n    options: {\n        key: '<%= aws.key %>'\n      , secret: '<%= aws.secret %>'\n      , bucket: '<%= aws.bucket %>'\n      , db    : db\n    },\n    your_target: {\n        files: [\n            {\n                root: __dirname\n              , src:  'tasks/**/*.js'\n              , dest: 'js/'\n              , gzip: true\n            },\n            {\n                root: 'dist'\n              , src: ['dist/**', '!dist/img/**']  // Don't compress images!\n              , dest: '/<%= pkg.version %>/'\n              , gzip: true\n              , compressionLevel: 9  // Max compression\n            },\n            {\n                root: __dirname\n              , src:  'Gruntfile.js'\n              , dest: 'Gruntfile.js'\n            }\n        ]\n    },\n  },\n})\n```\n\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style.\n\n## Release History\n* 2013-08-07   v0.2.1   New s3-sync version\n* 2013-07-25   v0.1.1   Edit gzipping handling\n* 2013-07-25   v0.1.0   First release\n","maintainers":[{"name":"calvein","email":"calvein@gmail.com"},{"name":"bockit","email":"james@jameshiscock.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"}],"time":{"modified":"2022-06-18T15:53:19.155Z","created":"2013-07-25T00:28:37.508Z","0.1.0":"2013-07-25T00:28:41.853Z","0.1.1":"2013-07-25T01:57:54.729Z","0.2.0":"2013-08-07T05:52:34.949Z","0.2.1":"2013-08-07T06:51:01.193Z","0.3.0":"2013-09-05T02:48:07.756Z","0.3.1":"2013-09-05T03:01:55.566Z","0.4.0":"2013-09-16T02:12:07.822Z","0.4.1":"2013-09-24T00:51:06.404Z","0.4.2":"2014-05-14T06:51:13.285Z","0.4.3":"2014-05-21T23:13:08.996Z"},"author":{"name":"Small Multiples","email":"info@small.mu","url":"http://small.mu"},"repository":{"type":"git","url":"git://github.com/smallmultiples/grunt-s3-sync.git"},"users":{"devonning":true,"blackmagic":true},"homepage":"https://github.com/smallmultiples/grunt-s3-sync","keywords":["gruntplugin","s3","amazon","aws"],"bugs":{"url":"https://github.com/smallmultiples/grunt-s3-sync/issues"},"readmeFilename":"README.md"}