更新开发环境和生产环境执行命令
This commit is contained in:
parent
65e8cf1375
commit
03979613f3
@ -4,8 +4,10 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
"prod": "vite --mode production",
|
||||||
"preview": "vite preview --port 4173",
|
"preview": "vite preview --port 4173",
|
||||||
"build": "vite build && node scripts/release.mjs",
|
"build": "vite build && node scripts/release.mjs",
|
||||||
|
"build:prod": "vite build --mode production && node scripts/release.mjs",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user