{ "name": "charon-frontend", "private": true, "version": "0.3.0", "type": "module", "tools": [], "constraints": [ "NPM SCRIPTS ONLY: Do not try to construct complex `vitest` or `playwright` commands. Always look at `package.json` first and use `npm run `." ], "scripts": { "dev": "vite", "build": "tsc -p tsconfig.build.json && vite build", "pretype-check": "npm ci --silent", "type-check": "tsc --noEmit", "lint": "eslint . --report-unused-disable-directives", "preview": "vite preview", "test": "NODE_OPTIONS=--max-old-space-size=4096 vitest run", "test:ci": "NODE_OPTIONS=--max-old-space-size=4096 vitest run", "test:ui": "vitest --ui", "check-coverage": "bash ../scripts/frontend-test-coverage.sh", "pretest:coverage": "npm ci --silent && node -e \"require('fs').mkdirSync('coverage/.tmp', { recursive: true })\"", "test:coverage": "NODE_OPTIONS=--max-old-space-size=4096 vitest run --coverage", "e2e:install": "npx playwright install --with-deps", "e2e:test": "playwright test", "e2e:up:block": "docker compose -f ../.docker/compose/docker-compose.local.yml down && CHARON_SECURITY_WAF_MODE=block docker compose -f ../.docker/compose/docker-compose.local.yml up -d", "e2e:up:monitor": "docker compose -f ../.docker/compose/docker-compose.local.yml down && CHARON_SECURITY_WAF_MODE=monitor docker compose -f ../.docker/compose/docker-compose.local.yml up -d", "e2e:down": "docker compose -f ../.docker/compose/docker-compose.local.yml down" }, "dependencies": { "@radix-ui/react-checkbox": "^1.3.3", "@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-progress": "^1.1.8", "@radix-ui/react-select": "^2.2.6", "@radix-ui/react-tabs": "^1.1.13", "@radix-ui/react-tooltip": "^1.2.8", "@tanstack/react-query": "^5.90.21", "axios": "^1.13.6", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "date-fns": "^4.1.0", "i18next": "^25.8.18", "i18next-browser-languagedetector": "^8.2.1", "lucide-react": "^0.577.0", "react": "^19.2.4", "react-dom": "^19.2.4", "react-hook-form": "^7.71.2", "react-hot-toast": "^2.6.0", "react-i18next": "^16.5.8", "react-router-dom": "^7.13.1", "tailwind-merge": "^3.5.0", "tldts": "^7.0.26" }, "devDependencies": { "@eslint/css": "^1.0.0", "@eslint/js": "^10.0.0", "@eslint/json": "^1.1.0", "@eslint/markdown": "^7.5.1", "@playwright/test": "^1.58.2", "@tailwindcss/postcss": "^4.2.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/eslint-plugin-jsx-a11y": "^6.10.1", "@types/node": "^25.5.0", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^8.57.1", "@typescript-eslint/parser": "^8.57.1", "@typescript-eslint/utils": "^8.57.1", "@vitejs/plugin-react": "^6.0.1", "@vitest/coverage-istanbul": "^4.1.0", "@vitest/coverage-v8": "^4.1.0", "@vitest/eslint-plugin": "^1.6.12", "@vitest/ui": "^4.1.0", "autoprefixer": "^10.4.27", "eslint": "^10.0.3", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import-x": "^4.16.2", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-no-unsanitized": "^4.1.5", "eslint-plugin-promise": "^7.2.1", "eslint-plugin-react-compiler": "^19.1.0-rc.2", "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.5.2", "eslint-plugin-security": "^4.0.0", "eslint-plugin-sonarjs": "^4.0.2", "eslint-plugin-testing-library": "^7.16.0", "eslint-plugin-unicorn": "^63.0.0", "eslint-plugin-unused-imports": "^4.4.1", "jsdom": "29.0.0", "knip": "^5.87.0", "postcss": "^8.5.8", "tailwindcss": "^4.2.1", "typescript": "^6.0.1-rc", "typescript-eslint": "^8.57.1", "vite": "^8.0.0", "vitest": "^4.1.0", "zod-validation-error": "^5.0.0" }, "overrides": { "typescript": "^6.0.1-rc", "eslint-plugin-react-hooks": { "eslint": "^10.0.3" }, "eslint-plugin-jsx-a11y": { "eslint": "^10.0.3" }, "eslint-plugin-promise": { "eslint": "^10.0.3" }, "@vitejs/plugin-react": { "vite": "8.0.0" } } }