修改环境配置,自动上传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 @@ | ... | @@ -7,11 +7,12 @@ |
"private": true, | "private": true, | ||
"scripts": { | "scripts": { | ||
"serve": "vue-cli-service serve", | "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:dr": "vue-cli-service build --mode dr --modern", | ||
"build:prod": "vue-cli-service build --mode production --modern" | "build:prod": "vue-cli-service build --mode production --modern" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"ali-oss": "^6.20.0", | |||
"axios": "^0.21.1", | "axios": "^0.21.1", | ||
"element-ui": "^2.15.13", | "element-ui": "^2.15.13", | ||
"express": "^4.17.1", | "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