修改环境配置,自动上传OSS
Showing
package-lock.json
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
... | ... | @@ -7,11 +7,12 @@ |
"private": true, | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build:test": "vue-cli-service build --mode test", | ||
"build:test": "vue-cli-service build --mode test && node ./upload_oss.js", | ||
"build:dr": "vue-cli-service build --mode dr --modern", | ||
"build:prod": "vue-cli-service build --mode production --modern" | ||
}, | ||
"dependencies": { | ||
"ali-oss": "^6.20.0", | ||
"axios": "^0.21.1", | ||
"element-ui": "^2.15.13", | ||
"express": "^4.17.1", | ||
... | ... |
upload_oss.js
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment