Files
2026-04-15 10:30:15 +02:00

81 lines
2.0 KiB
JSON

{
"name": "enterprise-dashboard-refactor",
"version": "1.0.0",
"private": true,
"description": "Task 33: Refactor legacy monolithic Dashboard component into modular TypeScript architecture",
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "jest --coverage",
"test:e2e": "playwright test",
"test:visual": "chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
"lint": "eslint src --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
"dependencies": {
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-tabs": "^1.0.4",
"@tanstack/react-query": "^4.29.0",
"@tanstack/react-table": "^8.9.1",
"axios": "^1.4.0",
"clsx": "^1.2.1",
"date-fns": "^2.30.0",
"framer-motion": "^10.12.16",
"lucide-react": "^0.244.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"recharts": "^2.7.2",
"tailwind-merge": "^1.13.2",
"zustand": "^4.3.8"
},
"devDependencies": {
"@playwright/test": "^1.35.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"chromatic": "^6.19.9",
"eslint": "^8.42.0",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.8",
"react-scripts": "5.0.1",
"typescript": "^5.1.3"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/**/*.d.ts",
"!src/index.tsx"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
}
}