建立前端与 Tauri 桌面端的首个版本提交,包含核心编辑器、项目文件读写、测试与构建配置。 补充 Git 忽略规则和换行规范,排除依赖、构建产物、本地运行日志与临时验证文件,方便在其他电脑继续开发。
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "blockflow-workbench",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit && vite build",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit",
|
|
"tauri": "tauri",
|
|
"tauri:dev": "tauri dev",
|
|
"tauri:build": "tauri build"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.11.2",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^25.9.1",
|
|
"@types/react": "^19.2.15",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"autoprefixer": "^10.5.0",
|
|
"jsdom": "^29.1.1",
|
|
"postcss": "^8.5.15",
|
|
"tailwindcss": "^3.4.19",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.0.14",
|
|
"vitest": "^4.1.7"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.11.0",
|
|
"@tauri-apps/plugin-dialog": "^2.7.1",
|
|
"@tauri-apps/plugin-fs": "^2.5.1",
|
|
"@tiptap/core": "^3.23.6",
|
|
"@tiptap/react": "^3.23.6",
|
|
"@tiptap/starter-kit": "^3.23.6",
|
|
"lucide-react": "^1.16.0",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6",
|
|
"zustand": "^5.0.13"
|
|
}
|
|
}
|