mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
refactor(projects): refactor service env config
This commit is contained in:
12
package.json
12
package.json
@ -28,14 +28,12 @@
|
||||
"UnoCSS"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "cross-env VITE_SERVICE_ENV=prod vite build",
|
||||
"build:dev": "vite build",
|
||||
"build:test": "cross-env VITE_SERVICE_ENV=test vite build",
|
||||
"build": "vite build --mode prod",
|
||||
"build:test": "vite build --mode test",
|
||||
"cleanup": "sa cleanup",
|
||||
"commit": "sa git-commit",
|
||||
"dev": "vite",
|
||||
"dev:prod": "cross-env VITE_SERVICE_ENV=prod vite",
|
||||
"dev:test": "cross-env VITE_SERVICE_ENV=test vite",
|
||||
"dev": "vite --mode test",
|
||||
"dev:prod": "vite --mode prod",
|
||||
"gen-route": "sa gen-route",
|
||||
"lint": "eslint . --fix",
|
||||
"prepare": "simple-git-hooks",
|
||||
@ -81,11 +79,9 @@
|
||||
"@unocss/vite": "0.58.5",
|
||||
"@vitejs/plugin-vue": "5.0.4",
|
||||
"@vitejs/plugin-vue-jsx": "3.1.0",
|
||||
"cross-env": "7.0.3",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-plugin-vue": "9.22.0",
|
||||
"lint-staged": "15.2.2",
|
||||
"npm-run-all": "4.1.5",
|
||||
"sass": "1.71.1",
|
||||
"simple-git-hooks": "2.9.0",
|
||||
"tsx": "4.7.1",
|
||||
|
Reference in New Issue
Block a user