Skip to content

Commit

Permalink
perf: 优化pkg.json
Browse files Browse the repository at this point in the history
  • Loading branch information
huangmingfu committed Nov 3, 2024
1 parent c006ddc commit 940a4af
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite --mode dev",
"dev:test": "vite --mode test",
"dev:pro": "vite --mode pro",
"build:dev": "tsc -b && pnpm vite build --mode dev",
"build:test": "tsc -b && pnpm vite build --mode test",
"build:pro": "tsc -b && pnpm vite build --mode pro",
"preview:dev": "pnpm vite preview --mode dev",
"preview:test": "pnpm vite preview --mode test",
"preview:pro": "pnpm vite preview --mode pro",
"dev": "vite -m dev",
"dev:test": "vite -m test",
"dev:pro": "vite -m pro",
"build:dev": "tsc -b && pnpm vite build -m dev",
"build:test": "tsc -b && pnpm vite build -m test",
"build:pro": "tsc -b && pnpm vite build -m pro",
"preview:dev": "pnpm vite preview -m dev",
"preview:test": "pnpm vite preview -m test",
"preview:pro": "pnpm vite preview -m pro",
"lint:eslint": "eslint --max-warnings 0 \"{src,mock,build}/**/*.{ts,tsx,js,jsx,cjs,mjs}\" --fix",
"lint:format": "prettier --write \"./**/*.{ts,tsx,js,jsx,cjs,mjs,html}\"",
"lint:style": "stylelint \"./**/*.{css,scss}\" --fix",
Expand Down

0 comments on commit 940a4af

Please sign in to comment.