Some checks failed
Lint / Lint and Check (push) Failing after 48s
Integrates Playwright for end-to-end browser testing with automated web server setup, example smoke tests, and CI-compatible configuration. Introduces Vitest, Testing Library, and related utilities for fast component and unit testing. Updates scripts, development dependencies, and lockfile to support both test suites. Establishes unified testing commands for local and CI workflows, laying groundwork for comprehensive automated UI and integration coverage.
81 lines
2.4 KiB
JSON
81 lines
2.4 KiB
JSON
{
|
|
"name": "trackeveryday",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next typegen && eslint . && npx tsc --noEmit",
|
|
"test": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"test:coverage": "vitest run --coverage",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
|
|
"format:write": "prettier --write \"**/*.{ts,tsx,js,jsx,mdx}\" --cache"
|
|
},
|
|
"dependencies": {
|
|
"@next/env": "^16.0.3",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-label": "^2.1.8",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@tanstack/react-query": "^5.90.9",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cssnano": "^7.1.2",
|
|
"date-fns": "^4.1.0",
|
|
"drizzle-orm": "^0.44.7",
|
|
"lucide-react": "^0.554.0",
|
|
"nanoid": "^5.1.6",
|
|
"next": "16.0.3",
|
|
"next-plausible": "^3.12.5",
|
|
"pg": "^8.16.3",
|
|
"pg-native": "^3.5.2",
|
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
"postcss-preset-env": "^10.4.0",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0",
|
|
"tailwind-merge": "^3.4.0",
|
|
"tailwindcss-animate": "^1.0.7"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.56.1",
|
|
"@tailwindcss/postcss": "4.1.17",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/node": "24.10.1",
|
|
"@types/pg": "8.15.6",
|
|
"@types/react": "19.2.6",
|
|
"@types/react-dom": "19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.1",
|
|
"drizzle-kit": "0.31.7",
|
|
"eslint": "9.39.1",
|
|
"eslint-config-next": "16.0.3",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"jsdom": "^27.2.0",
|
|
"postcss": "8.5.6",
|
|
"prettier": "3.6.2",
|
|
"prettier-plugin-tailwindcss": "0.7.1",
|
|
"tailwindcss": "4.1.17",
|
|
"turbo": "2.6.1",
|
|
"typescript": "5.9.3",
|
|
"typescript-eslint": "8.47.0",
|
|
"vitest": "^4.0.13"
|
|
},
|
|
"packageManager": "pnpm@10.23.0",
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@types/react": "19.2.6",
|
|
"@types/react-dom": "19.2.3"
|
|
}
|
|
}
|
|
}
|