修改打包命令

This commit is contained in:
guanj
2025-09-26 09:30:06 +08:00
parent c1ec72baf0
commit 17e296aa31

View File

@@ -4,10 +4,10 @@
"private": false, "private": false,
"scripts": { "scripts": {
"dev": "pnpm run format && vite --port 4001", "dev": "pnpm run format && vite --port 4001",
"build": "run-p type-check \"build-only {@}\" --", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"test:unit": "vitest", "test:unit": "vitest",
"build-only": "vite build", "build-only": "run-p type-check \"build-only {@}\" --",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"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",
"format": "prettier --write src/", "format": "prettier --write src/",