cdn-cli:对象存储部署前端项目,支持阿里云腾讯云七牛云

时间:2021-07-24 08:59:59
【文件属性】:
文件名称:cdn-cli:对象存储部署前端项目,支持阿里云腾讯云七牛云
文件大小:1.48MB
文件格式:ZIP
更新时间:2021-07-24 08:59:59
JavaScript 对象存储部署前端项目,支持阿里云/腾讯云/七牛云 1. 安装依赖包 npm install cdn-cli -g 2. 初始化项目 cdn init aliyun # 阿里云 cdn init tencent # 腾讯云 cdn init qiniu # 七牛云 3. 配置 deploy-config/config.json { "type": "aliyun", "deploy": { "directories": [ { "from": "./dist", "to": "." }, "./static" ], "files": [ { "from": "./product.html", "to": "./item.html" },
【文件预览】:
cdn-cli-master
----.gitignore(166B)
----README.md(2KB)
----utils()
--------qiniu.js(1KB)
--------log.js(487B)
--------tencent.js(873B)
--------config.js(744B)
--------file.js(1KB)
--------aliyun.js(869B)
----bin()
--------cdn(2KB)
----awesome.gif(1.45MB)
----cdn-cli.log(0B)
----package.json(828B)
----index.js(5KB)
----.editorconfig(147B)
----yarn.lock(55KB)
----templates()
--------config.json(436B)
--------tencent()
--------qiniu()
--------aliyun()

网友评论