add test env build script

This commit is contained in:
RockYang 2023-03-30 22:49:32 +08:00
parent 7241e2e7ad
commit b7120b400a
2 changed files with 3 additions and 0 deletions

2
web/.env.test Normal file
View File

@ -0,0 +1,2 @@
VUE_APP_API_HOST=https://chat-plus.net
VUE_APP_WS_HOST=wss://chat-plus.net

View File

@ -5,6 +5,7 @@
"scripts": {
"dev": "vue-cli-service serve",
"build": "vue-cli-service build",
"test": "vue-cli-service build --mode test ",
"lint": "vue-cli-service lint"
},
"dependencies": {