117 lines
4.2 KiB
JSON
117 lines
4.2 KiB
JSON
{
|
|
"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 <script-name>`."
|
|
],
|
|
"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.98.0",
|
|
"axios": "1.15.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"i18next": "^26.0.4",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"lucide-react": "^1.8.0",
|
|
"react": "^19.2.5",
|
|
"react-dom": "^19.2.5",
|
|
"react-hook-form": "^7.72.1",
|
|
"react-hot-toast": "^2.6.0",
|
|
"react-i18next": "^17.0.2",
|
|
"react-router-dom": "^7.14.0",
|
|
"recharts": "^3.8.1",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tldts": "^7.0.28"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/css": "^1.1.0",
|
|
"@eslint/js": "^10.0.0",
|
|
"@eslint/json": "^1.2.0",
|
|
"@eslint/markdown": "^8.0.1",
|
|
"@playwright/test": "^1.59.1",
|
|
"@tailwindcss/postcss": "^4.2.2",
|
|
"@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.6.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.58.1",
|
|
"@typescript-eslint/parser": "^8.58.1",
|
|
"@typescript-eslint/utils": "^8.58.1",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"@vitest/coverage-istanbul": "^4.1.4",
|
|
"@vitest/coverage-v8": "^4.1.4",
|
|
"@vitest/eslint-plugin": "^1.6.15",
|
|
"@vitest/ui": "^4.1.4",
|
|
"autoprefixer": "^10.4.27",
|
|
"eslint": "^10.2.0",
|
|
"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.2",
|
|
"eslint-plugin-unicorn": "^64.0.0",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"jsdom": "29.0.2",
|
|
"knip": "^6.4.0",
|
|
"postcss": "^8.5.9",
|
|
"tailwindcss": "^4.2.2",
|
|
"typescript": "^6.0.2",
|
|
"typescript-eslint": "^8.58.1",
|
|
"vite": "^8.0.8",
|
|
"vitest": "^4.1.4",
|
|
"zod-validation-error": "^5.0.0"
|
|
},
|
|
"overrides": {
|
|
"typescript": "^6.0.2",
|
|
"eslint-plugin-react-hooks": {
|
|
"eslint": "^10.2.0"
|
|
},
|
|
"eslint-plugin-jsx-a11y": {
|
|
"eslint": "^10.2.0"
|
|
},
|
|
"eslint-plugin-promise": {
|
|
"eslint": "^10.2.0"
|
|
},
|
|
"@vitejs/plugin-react": {
|
|
"vite": "8.0.8"
|
|
}
|
|
}
|
|
}
|