文件名称:gulp-awspublish:gulp插件,用于将文件发布到亚马逊s3
文件大小:74KB
文件格式:ZIP
更新时间:2024-02-24 10:33:24
gulp stream s3 GulpJavaScript
gulp-aws发布 awspublish插件 用法 首先,将gulp-awspublish安装为开发依赖项: npm install --save-dev gulp-awspublish 然后,将其添加到您的gulpfile.js : var awspublish = require ( "gulp-awspublish" ) ; gulp . task ( "publish" , function ( ) { // create a new publisher using S3 options // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property var publisher = awspublish . create ( { region : "your-region-id" , params : { Bucket : "..." } } , { cache
【文件预览】:
gulp-awspublish-master
----.travis.yml(55B)
----package.json(2KB)
----.eslintrc.json(186B)
----test()
--------index.js(17KB)
--------mocha.opts(46B)
----LICENSE(1KB)
----package-lock.json(224KB)
----examples()
--------events.js(439B)
--------simple.js(768B)
--------rename.js(799B)
--------merge-streams.js(1KB)
--------concurrent.js(381B)
--------public()
--------fixtures()
----.gitignore(116B)
----History.md(2KB)
----lib()
--------index.js(11KB)
--------s3-paging-stream.js(1016B)
--------log-reporter.js(1KB)
----README.md(11KB)
----.editorconfig(172B)
----.gitattributes(11B)