feat:test
This commit is contained in:
parent
c32bbee235
commit
dc5f6ff08e
@ -2,7 +2,7 @@
|
|||||||
VITE_PATH = '/dev-api'
|
VITE_PATH = '/dev-api'
|
||||||
|
|
||||||
# Backend address
|
# Backend address
|
||||||
VITE_BASE_URL = 'http://192.168.3.85:8080'
|
VITE_BASE_URL = 'http://47.109.205.240:10085/admin'
|
||||||
|
|
||||||
# spa-title
|
# spa-title
|
||||||
VITE_GLOB_APP_TITLE = GoView
|
VITE_GLOB_APP_TITLE = GoView
|
||||||
|
8
.env.test
Normal file
8
.env.test
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# development path
|
||||||
|
VITE_PATH = '/prod-api'
|
||||||
|
|
||||||
|
# spa-title
|
||||||
|
VITE_GLOB_APP_TITLE = GoView
|
||||||
|
|
||||||
|
# spa shortname
|
||||||
|
VITE_GLOB_APP_SHORT_NAME = GoView
|
@ -6,10 +6,12 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host",
|
"dev": "vite --host",
|
||||||
|
"test": "vite build --mode test",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"new": "plop --plopfile ./plop/plopfile.js",
|
"new": "plop --plopfile ./plop/plopfile.js",
|
||||||
"postinstall": "husky install",
|
"postinstall": "husky install",
|
||||||
|
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
||||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue src",
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue src",
|
||||||
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix"
|
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix"
|
||||||
},
|
},
|
||||||
@ -74,7 +76,7 @@
|
|||||||
"lodash": "~4.17.21",
|
"lodash": "~4.17.21",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"plop": "^3.0.5",
|
"plop": "^3.0.5",
|
||||||
"prettier": "^2.6.2",
|
"prettier": "^3.5.3",
|
||||||
"sass": "^1.77.6",
|
"sass": "^1.77.6",
|
||||||
"sass-loader": "^12.6.0",
|
"sass-loader": "^12.6.0",
|
||||||
"typescript": "4.6.3",
|
"typescript": "4.6.3",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user