86 lines
3.3 KiB
JSON
86 lines
3.3 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.90.21",
|
|
"axios": "^1.13.6",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"i18next": "^25.8.13",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"lucide-react": "^0.576.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.4",
|
|
"react-router-dom": "^7.13.1",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tldts": "^7.0.23"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/css": "^0.14.1",
|
|
"@eslint/js": "^9.39.3 <10.0.0",
|
|
"@eslint/json": "^1.0.1",
|
|
"@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/node": "^25.3.3",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
"@typescript-eslint/parser": "^8.56.1",
|
|
"@vitejs/plugin-react": "^5.1.4",
|
|
"@vitest/coverage-istanbul": "^4.0.18",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"@vitest/ui": "^4.0.18",
|
|
"autoprefixer": "^10.4.27",
|
|
"eslint": "^9.39.3 <10.0.0",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"jsdom": "28.1.0",
|
|
"knip": "^5.85.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.2.1",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.56.1",
|
|
"vite": "^7.3.1",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|