mirror of
https://github.com/vernu/textbee.git
synced 2026-07-31 17:37:26 -04:00
Next 16 removed the `next lint` command, so `pnpm lint` was broken. Replace .eslintrc.json with an ESLint 9 flat config (eslint.config.mjs) that spreads eslint-config-next's native core-web-vitals flat config, and point the lint script at `eslint .`. Keep Next 16's newer react-hooks (v6) compiler-adjacent rules advisory (warn) rather than blocking, since they flag working-but-non-optimal patterns across the existing codebase. `pnpm lint` now passes (0 errors, warnings only). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
89 lines
2.7 KiB
JSON
89 lines
2.7 KiB
JSON
{
|
|
"name": "textbee.dev",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"vercel-build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^5.4.0",
|
|
"@radix-ui/react-accordion": "^1.2.16",
|
|
"@radix-ui/react-alert-dialog": "^1.1.19",
|
|
"@radix-ui/react-avatar": "^1.2.2",
|
|
"@radix-ui/react-checkbox": "^1.3.7",
|
|
"@radix-ui/react-collapsible": "^1.1.16",
|
|
"@radix-ui/react-dialog": "^1.1.19",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.20",
|
|
"@radix-ui/react-icons": "^1.3.2",
|
|
"@radix-ui/react-label": "^2.1.11",
|
|
"@radix-ui/react-navigation-menu": "^1.2.18",
|
|
"@radix-ui/react-popover": "^1.1.19",
|
|
"@radix-ui/react-scroll-area": "^1.2.14",
|
|
"@radix-ui/react-select": "^2.3.3",
|
|
"@radix-ui/react-slot": "^1.3.0",
|
|
"@radix-ui/react-switch": "^1.3.3",
|
|
"@radix-ui/react-tabs": "^1.1.17",
|
|
"@radix-ui/react-toast": "^1.2.19",
|
|
"@radix-ui/react-tooltip": "^1.2.12",
|
|
"@react-oauth/google": "^0.12.1",
|
|
"@tanstack/react-query": "^5.101.2",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"axios": "^1.18.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"date-fns": "^4.4.0",
|
|
"lucide-react": "^0.577.0",
|
|
"next": "16.2.10",
|
|
"next-auth": "^4.24.14",
|
|
"next-themes": "^0.4.6",
|
|
"papaparse": "^5.5.4",
|
|
"react": "^19.2.0",
|
|
"react-day-picker": "^9.14.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-dropzone": "^15.0.0",
|
|
"react-hook-form": "^7.81.0",
|
|
"react-qr-code": "^2.2.0",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"sharp": "^0.34.2",
|
|
"tailwind-merge": "^3.6.0",
|
|
"uuid": "^14.0.1",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.6",
|
|
"@playwright/test": "^1.49.1",
|
|
"@tailwindcss/postcss": "^4.3.2",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/node": "^20.11.5",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
"@typescript-eslint/parser": "^8.18.0",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"@vitest/coverage-v8": "^2.1.8",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-next": "16.2.10",
|
|
"jsdom": "^25.0.1",
|
|
"msw": "^2.7.0",
|
|
"postcss": "^8.4.47",
|
|
"tailwindcss": "^4.3.2",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
} |