- Set up Tailwind CSS configuration for styling - Create Button component with variants (primary, secondary, outline, ghost, danger) - Create Input component with label, error, and helper text support - Create Card component with composable subcomponents (Header, Title, Description, Content, Footer) - Create LoadingSpinner component with size and fullscreen options - Create ErrorMessage component with retry and dismiss actions - Add comprehensive test suite using Jest and React Testing Library - Configure ESLint and Jest for quality assurance All components follow consistent design patterns from mobile app and include proper TypeScript types and accessibility features. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
768 B
JSON
32 lines
768 B
JSON
{
|
|
"name": "wellnuo-admin",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev -p 3011",
|
|
"build": "next build",
|
|
"start": "next start -p 3011",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"next": "^14.2.35",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.57.0",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"autoprefixer": "^10.4.24",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-next": "^14.2.35",
|
|
"jest": "^30.2.0",
|
|
"jest-environment-jsdom": "^30.2.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18"
|
|
}
|
|
}
|