feat: add initial frontend setup with styles, types, and testing framework

- Created a global CSS file for styling the frontend with responsive design.
- Introduced TypeScript types for various entities including Research, Alpha, and Account.
- Implemented Playwright tests for account management and data synchronization workflows.
- Configured TypeScript with strict settings and included necessary libraries.
- Set up Vite as the build tool with React plugin and API proxy configuration.
- Added a Python script to initialize environment variables securely.
This commit is contained in:
yuxuanhui
2026-09-07 14:54:20 +08:00
commit 3cd280d068
53 changed files with 10888 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"name": "wq-alpha-frontend",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@9.15.0",
"type": "module",
"scripts": {
"dev": "vite --host 127.0.0.1",
"build": "tsc -b && vite build",
"typecheck": "tsc -b --pretty false",
"test": "playwright test",
"test:e2e": "playwright test"
},
"dependencies": {
"@douyinfe/semi-icons": "2.103.0",
"@douyinfe/semi-ui-19": "2.103.0",
"react": "19.2.8",
"react-dom": "19.2.8"
},
"devDependencies": {
"@playwright/test": "^1.55.0",
"@types/node": "^22",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^5.0.0",
"prettier": "3.6.2",
"typescript": "^5.9.0",
"vite": "8.2.2"
}
}