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

702 B
Raw Blame History

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