- Create Tailwind CSS configuration with design tokens from UIDesignSpec - Create globals.css with CSS variables and component styles - Add React component library: - UI components: Button, Card, Tag, Input, Select, ProgressBar, Modal - Navigation: BottomNav, Sidebar, StatusBar - Layout: MobileLayout, DesktopLayout - Add constants for colors, icons, and layout - Update tasks.md with 31 UI development tasks linked to design node IDs - Configure package.json, tsconfig.json, and postcss.config.js Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "smartaudit-frontend",
|
|
"version": "1.0.0",
|
|
"description": "SmartAudit AI 营销内容合规审核平台 - 前端",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"test": "vitest",
|
|
"test:coverage": "vitest --coverage"
|
|
},
|
|
"dependencies": {
|
|
"next": "^14.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"lucide-react": "^0.300.0",
|
|
"zustand": "^4.4.0",
|
|
"axios": "^1.6.0",
|
|
"@uppy/core": "^3.8.0",
|
|
"@uppy/tus": "^3.4.0",
|
|
"@uppy/react": "^3.2.0",
|
|
"socket.io-client": "^4.7.0",
|
|
"clsx": "^2.1.0",
|
|
"tailwind-merge": "^2.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"typescript": "^5.3.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"postcss": "^8.4.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"eslint": "^8.55.0",
|
|
"eslint-config-next": "^14.0.0",
|
|
"vitest": "^1.0.0",
|
|
"@testing-library/react": "^14.1.0",
|
|
"@testing-library/jest-dom": "^6.1.0",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"jsdom": "^23.0.0",
|
|
"@vitest/coverage-v8": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|