2026-02-14 18:59:36 +08:00

32 lines
702 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# package.json
**路径**`package.json`
## 功能用途
项目依赖与脚本定义。
## 主要脚本
| 命令 | 说明 |
|------|------|
| npm run dev | 启动开发服务器 |
| npm run build | 类型检查 + 构建 |
| npm run deploy | 打包并通过 SSH 部署 |
| npm run preview | 预览构建产物 |
| npm run test:unit | Vitest 单测 |
| npm run test:e2e | Playwright E2E |
| npm run format | Prettier 格式化 |
## 核心依赖
- Vue 3、Vue Router 5、Pinia、Vuetify 4
- ethers、siwe钱包登录
- echarts图表
- @mdi/font(图标)
## 扩展方式
- 新增脚本:在 `scripts` 中增加
- 新增依赖:`npm install xxx` 或手动编辑后 `npm install`