任务1.1 初始化 Git 版本控制 - 建立 Git 仓库并连接到阿里云服务器 - 创建 .gitignore 和项目文档 - 建立 master/develop 分支管理策略 任务1.2 搭建前端项目基础架构 - 创建 Vue.js 3 + TypeScript 项目 - 集成 Tailwind CSS 和温暖现代主义设计系统 - 实现基础 UI 组件库(BaseButton, BaseCard, BaseInput) - 建立路由结构和页面组件 - 配置 Vite 构建工具 任务1.3 配置 Capacitor 和本地存储 - 集成 Capacitor.js 并生成 Android 项目 - 配置 SQLite 数据库和数据模型 - 实现完整的数据库服务层 - 创建 Pinia 状态管理 store - 建立本地数据 CRUD 操作基础 技术栈:Vue 3 + TypeScript + Tailwind CSS + Capacitor + SQLite
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "bill",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "run-p type-check \"build-only {@}\" --",
|
|
"preview": "vite preview",
|
|
"test:unit": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"build-only": "vite build",
|
|
"type-check": "vue-tsc --build",
|
|
"lint": "eslint . --fix",
|
|
"format": "prettier --write src/"
|
|
},
|
|
"dependencies": {
|
|
"@capacitor-community/sqlite": "^7.0.1",
|
|
"@capacitor/android": "^7.4.2",
|
|
"@capacitor/cli": "^7.4.2",
|
|
"@capacitor/core": "^7.4.2",
|
|
"pinia": "^3.0.3",
|
|
"vue": "^3.5.18",
|
|
"vue-router": "^4.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.54.1",
|
|
"@tailwindcss/postcss": "^4.1.11",
|
|
"@tsconfig/node22": "^22.0.2",
|
|
"@types/jsdom": "^21.1.7",
|
|
"@types/node": "^22.16.5",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vitejs/plugin-vue-jsx": "^5.0.1",
|
|
"@vitest/eslint-plugin": "^1.3.4",
|
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"@vue/tsconfig": "^0.7.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^9.31.0",
|
|
"eslint-plugin-playwright": "^2.2.0",
|
|
"eslint-plugin-vue": "~10.3.0",
|
|
"jiti": "^2.4.2",
|
|
"jsdom": "^26.1.0",
|
|
"npm-run-all2": "^8.0.4",
|
|
"postcss": "^8.5.6",
|
|
"prettier": "3.6.2",
|
|
"tailwindcss": "^4.1.11",
|
|
"typescript": "~5.8.0",
|
|
"vite": "^7.0.6",
|
|
"vite-plugin-vue-devtools": "^8.0.0",
|
|
"vitest": "^3.2.4",
|
|
"vue-tsc": "^3.0.4"
|
|
}
|
|
}
|