chore: 更新 package.json,优化依赖命令并添加 knip 工具
This commit is contained in:
10
package.json
10
package.json
@ -19,10 +19,11 @@
|
||||
"playwright:ui": "playwright test --ui",
|
||||
"playwright:chromium": "playwright test --project=chromium",
|
||||
"dep:dedupe": "pnpm dedupe",
|
||||
"dep:update": "taze major --interactive",
|
||||
"sizecheck:Treemap": "npx vite-bundle-visualizer -t treemap",
|
||||
"sizecheck:Sunburst": "npx vite-bundle-visualizer -t sunburst",
|
||||
"sizecheck:Network": "npx vite-bundle-visualizer -t network"
|
||||
"dep:update": "pnpm dlx taze major --interactive",
|
||||
"sizecheck:Treemap": "pnpm dlx vite-bundle-visualizer -t treemap",
|
||||
"sizecheck:Sunburst": "pnpm dlx vite-bundle-visualizer -t sunburst",
|
||||
"sizecheck:Network": "pnpm dlx vite-bundle-visualizer -t network",
|
||||
"knip": "pnpm dlx knip"
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{js,ts,vue}": [
|
||||
@ -112,7 +113,6 @@
|
||||
"prettier": "3.4.2",
|
||||
"sass-embedded": "^1.83.4",
|
||||
"surge": "^0.24.6",
|
||||
"taze": "^18.5.0",
|
||||
"terser": "^5.38.2",
|
||||
"typescript": "~5.8.2",
|
||||
"unocss": "^66.0.0",
|
||||
|
Reference in New Issue
Block a user