chore: add fe

This commit is contained in:
lencx
2022-12-13 11:58:47 +08:00
parent 918d53c9b9
commit 430d6e4af2
17 changed files with 262 additions and 10 deletions

View File

@@ -2,6 +2,8 @@
"name": "chatgpt",
"version": "0.0.0",
"scripts": {
"dev:fe": "vite",
"build:fe": "tsc && vite build",
"dev": "yarn tauri dev",
"build": "yarn tauri build",
"updater": "tr updater",
@@ -27,8 +29,19 @@
"type": "git",
"url": "https://github.com/lencx/ChatGPT"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@tauri-apps/api": "^1.2.0"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.1",
"@types/node": "^18.7.10",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^3.0.0",
"typescript": "^4.6.4",
"vite": "^4.0.0",
"@tauri-apps/cli": "^1.2.2",
"@tauri-release/cli": "^0.2.3"
}
}