s3-sync has the ability to receive headers as arguments and pass them to AWS S3 as metadata headers. This modification proposes to set headers at configuration so they are written in the objects when deploying. Main motivation is to be able to pass CacheControl header and have Cache-Control set for objects ovoiding "Leverage Browser Caching" throwed by page speed analyzers. Attention: Metadata are written equal to all objects (files) stored to S3 and there is no way to tailor it by file type at this moment. Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
43 lines
819 B
JSON
43 lines
819 B
JSON
{
|
|
"name": "hexo-deployer-s3",
|
|
"version": "0.2.0",
|
|
"description": "Amazon S3 deployer plugin for Hexo",
|
|
"main": "index",
|
|
"keywords": [
|
|
"hexo",
|
|
"s3",
|
|
"aws",
|
|
"deployer"
|
|
],
|
|
"author": "Nicholas Terwoord <nicholas.terwoord+code@gmail.com>",
|
|
"contributors": [
|
|
{
|
|
"name": "Josh Strange",
|
|
"email": "josh@joshstrange.com"
|
|
},
|
|
{
|
|
"name": "Jack Guy",
|
|
"email": "jack@thatguyjackguy.com"
|
|
},
|
|
{
|
|
"name": "Josenivaldo Benito Jr.",
|
|
"email": "jrbenito@benito.qsl.br"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/nt3rp/hexo-deployer-s3.git"
|
|
},
|
|
"license": {
|
|
"type": "MIT"
|
|
},
|
|
"peerDependencies": {
|
|
"hexo": "3.x"
|
|
},
|
|
"dependencies": {
|
|
"chalk": "^1.1.1",
|
|
"s3": "^4.4.0",
|
|
"xtend": "^4.0.1"
|
|
}
|
|
}
|