Files
admin-portal/package.json
T
Pine f03e3a3fed feat(auth): 登录页支持四种登录(账号/短信/微信扫码/小程序扫码)
- 平台登录内嵌四方式Tab,PollingQr 用 @rc-component/qrcode 渲染+轮询
- auth.ts 加 sendCode/phoneLogin/wxQrStart/wxQrPoll/mpQrStart/mpQrPoll;auth.tsx 加 loginWithResponse
- package.json 加 @rc-component/qrcode(锁文件只提交 npm package-lock.json)
2026-08-25 22:47:45 +08:00

35 lines
846 B
JSON

{
"name": "cloud-opc-admin",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"typecheck": "tsc -b --noEmit",
"preview": "vite preview"
},
"dependencies": {
"@rc-component/qrcode": "^2.0.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.468.0",
"radix-ui": "^1.4.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^7.0.1",
"tailwind-merge": "^3.5.0",
"tw-animate-css": "^1.4.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.2.2",
"@types/node": "^22.10.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"tailwindcss": "^4.2.2",
"typescript": "~5.6.2",
"vite": "^6.0.1"
}
}