mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
Add unit tests for various UI components and context hooks - Created tests for Progress, RadioGroup, Select, Separator, Sheet, Sidebar, Skeleton, Sonner, Switch, Table, Tabs, Textarea, Tooltip components. - Implemented tests for UserConfigContext and other context hooks. - Added utility tests for filters and utils functions. - Set up MSW for API mocking in tests. - Configured Vitest for testing environment with necessary setup.
91 lines
2.9 KiB
JSON
91 lines
2.9 KiB
JSON
{
|
|
"name": "ui",
|
|
"version": "1.31.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "cross-env NODE_OPTIONS=--enable-source-maps next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"fix-lint": "npx eslint --fix . --ignore-pattern '.next/*' --ignore-pattern 'node_modules/*' --ignore-pattern 'next-env.d.ts'",
|
|
"generate-client": "openapi-ts",
|
|
"test:display-options": "node scripts/test-display-options.mts"
|
|
},
|
|
"dependencies": {
|
|
"@dagrejs/dagre": "^1.1.4",
|
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
"@radix-ui/react-checkbox": "^1.3.2",
|
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
"@radix-ui/react-label": "^2.1.3",
|
|
"@radix-ui/react-popover": "^1.1.14",
|
|
"@radix-ui/react-progress": "^1.1.7",
|
|
"@radix-ui/react-radio-group": "^1.3.7",
|
|
"@radix-ui/react-select": "^2.2.2",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@radix-ui/react-switch": "^1.1.4",
|
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@sentry/nextjs": "^9.28.1",
|
|
"@stackframe/stack": "^2.8.80",
|
|
"@xyflow/react": "^12.10.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"lucide-react": "^0.505.0",
|
|
"next": "^15.3.3",
|
|
"next-themes": "^0.4.6",
|
|
"pino": "^9.9.2",
|
|
"pino-pretty": "^13.1.1",
|
|
"posthog-js": "^1.255.1",
|
|
"posthog-node": "^5.1.1",
|
|
"react": "^19.1.0",
|
|
"react-day-picker": "^9.8.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-hook-form": "^7.56.4",
|
|
"react-international-phone": "^4.5.0",
|
|
"react-timezone-select": "^3.2.8",
|
|
"recharts": "^3.1.2",
|
|
"shadcn-ui": "^0.9.5",
|
|
"sonner": "^2.0.5",
|
|
"tailwind-merge": "^3.2.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"tw-animate-css": "^1.2.5",
|
|
"zundo": "^2.3.0",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@hey-api/openapi-ts": "^0.95.0",
|
|
"@playwright/test": "^1.60.0",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/source-map-support": "^0.5.10",
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"@vitest/coverage-v8": "^4.1.7",
|
|
"@vitest/ui": "^4.1.7",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "^15.3.3",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
"jsdom": "^29.1.1",
|
|
"msw": "^2.14.6",
|
|
"source-map-support": "^0.5.21",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5",
|
|
"vitest": "^4.1.7"
|
|
},
|
|
"overrides": {
|
|
"lucide-react": "^0.505.0"
|
|
}
|
|
}
|