- install i18next and react-i18next - create src/i18n/index.ts bootstrapping i18next with initReactI18next - add src/i18n/locales/en.json with keys for nav, all pages, and ThemeSwitcher - replace hardcoded English strings in App, all pages, and ThemeSwitcher with t() - move static column definitions inside components where useTranslation is available
37 lines
957 B
JSON
37 lines
957 B
JSON
{
|
|
"name": "liquio-qa-bot-client",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"i18next": "^26.0.4",
|
|
"lucide-react": "^1.7.0",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-i18next": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@storybook/addon-a11y": "^10.3.5",
|
|
"@storybook/addon-docs": "^10.3.5",
|
|
"@storybook/addon-vitest": "^10.3.5",
|
|
"@storybook/react-vite": "^10.3.5",
|
|
"@types/react": "^19.1.2",
|
|
"@types/react-dom": "^19.1.2",
|
|
"@vitejs/plugin-react": "^4.4.1",
|
|
"@vitest/browser-playwright": "^4.1.3",
|
|
"@vitest/coverage-v8": "^4.1.3",
|
|
"playwright": "^1.59.1",
|
|
"storybook": "^10.3.5",
|
|
"typescript": "~5.8.3",
|
|
"vite": "^6.3.1",
|
|
"vitest": "^4.1.3"
|
|
}
|
|
}
|