chore: 新增dev环境配置

This commit is contained in:
xlsea
2024-09-12 16:28:28 +08:00
parent 85f6c31878
commit 6741ef6664
5 changed files with 44 additions and 9 deletions

View File

@ -19,12 +19,14 @@
},
"scripts": {
"build": "vite build --mode prod",
"build:dev": "vite build --mode dev",
"build:test": "vite build --mode test",
"cleanup": "sa cleanup",
"commit": "sa git-commit",
"commit:zh": "sa git-commit -l=zh-cn",
"dev": "vite --mode test",
"dev:prod": "vite --mode prod",
"dev:test": "vite --mode test",
"gen-route": "sa gen-route",
"lint": "eslint . --fix",
"prepare": "simple-git-hooks",