platform-codebase/features/i18n/react/package.json
Lilith 8c5505e7d1 Enhance i18n with React components and consensus routing
i18n improvements:
- FABLanguageSelector component for language switching
- Enhanced consensus router with better model selection
- Test setup and vitest configuration updates
- Package.json with new test dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 05:58:26 -08:00

93 lines
2.2 KiB
JSON

{
"name": "@lilith/i18n",
"version": "1.0.0",
"description": "API-driven internationalization system for lilith-platform",
"type": "module",
"main": "./src/index.ts",
"module": "./dist/index.js",
"types": "./src/index.ts",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./server": {
"types": "./src/server.ts",
"import": "./src/server.ts"
},
"./truth-validation": {
"types": "./src/truth-validation.ts",
"import": "./src/truth-validation.ts"
},
"./locales/*": "../locales/*"
},
"files": [
"dist",
"locales"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"clean": "rm -rf dist"
},
"dependencies": {
"@lilith/truth-client": "workspace:*",
"@lilith/zname": "workspace:*",
"i18next": "^23.11.0",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-http-backend": "^2.5.0",
"react-i18next": "^14.1.0"
},
"peerDependencies": {
"@tanstack/react-query": ">=5.0.0",
"framer-motion": ">=11.0.0",
"lucide-react": ">=0.400.0",
"react": ">=18.0.0",
"react-router-dom": ">=6.0.0 || ^7.0.0"
},
"peerDependenciesMeta": {
"framer-motion": {
"optional": true
},
"lucide-react": {
"optional": true
}
},
"devDependencies": {
"@tanstack/react-query": "^5.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@vitejs/plugin-react": "^4.2.0",
"framer-motion": "^11.0.0",
"jsdom": "^24.0.0",
"lucide-react": "^0.400.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^7.11.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0",
"vitest": "^4.0.16"
},
"author": {
"name": "QuinnFTW",
"email": "TransQuinnFTW@pm.me"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/transquinnftw/lilith-platform.git",
"directory": "codebase/features/i18n/react"
},
"keywords": [
"i18n",
"internationalization",
"translations",
"react",
"api-driven"
]
}