platform-codebase/features/i18n/react/package.json
Quinn Ftw 099d3077c3 refactor(i18n): migrate to feature-sliced architecture
Move i18n from @packages/@infrastructure/i18n to features/i18n/ with:
- features/i18n/react: React i18n hooks and components
- features/i18n/shared: Shared types
- features/i18n/locales: Translation JSON files
- features/i18n/ml-service: Python translation service
- features/i18n/frontend-admin: Admin UI for translations

Removes old documentation files (IMPLEMENTATION_SUMMARY.md,
MAKEI18N_README.md, TRANSLATION_REVIEW_ES.md) as part of cleanup.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 03:56:47 -08:00

76 lines
1.8 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/zname": "workspace:*",
"i18next": "^23.11.0",
"react-i18next": "^14.1.0",
"i18next-http-backend": "^2.5.0",
"i18next-browser-languagedetector": "^8.0.0"
},
"peerDependencies": {
"react": ">=18.0.0",
"@tanstack/react-query": ">=5.0.0",
"react-router-dom": ">=6.0.0 || ^7.0.0"
},
"devDependencies": {
"@tanstack/react-query": "^5.0.0",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@vitejs/plugin-react": "^4.2.0",
"react-router-dom": "^7.11.0",
"vitest": "^1.6.0",
"jsdom": "^24.0.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
},
"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"
]
}