alioss-upload
v0.0.1
Published
一个命令行工具,用于上传静态资源到阿里云oss
Downloads
4
Readme
alioss-upload
安装
npm i alioss-upload --save
使用
package.json
{
"script": {
"upload": "alioss-upload -c {{configPathForOss}}"
}
}
configPathForOss
: 配置文件路径 ,内容如下
{
"region": "your region",
"bucket": "your bucket",
"bucketPath": "your bucketPath",
"accessKeyId": "your accessKeyId",
"accessKeySecret": "your accessKeySecret"
}