mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
- Added i18next and react-i18next for multi-language support in the application. - Created localization files for English, Japanese, Korean, Traditional Chinese, and Simplified Chinese. - Implemented translation hooks in various components to replace hardcoded strings with translatable keys. - Updated ESLint configuration to include new i18n JSON validation rules. - Introduced a new event bus for handling i18n updates during development. Signed-off-by: Innei <tukon479@gmail.com>
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "@photo-gallery/monorepo",
|
|
"type": "module",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.12.1",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Afilmory/Afilmory"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm --filter @photo-gallery/web build",
|
|
"build:manifest": "pnpm --filter @photo-gallery/builder cli",
|
|
"build:update-remote-repo": "sh scripts/build-update-remote-repo.sh",
|
|
"dev": "pnpm --filter @photo-gallery/web dev",
|
|
"extract:font": "tsx scripts/extract-font-glyphs.ts",
|
|
"format": "prettier --write \"src/**/*.ts\" ",
|
|
"lint": "eslint --fix",
|
|
"preinstall": "sh scripts/preinstall.sh",
|
|
"prepare": "simple-git-hooks"
|
|
},
|
|
"dependencies": {
|
|
"@photo-gallery/builder": "workspace:*",
|
|
"@t3-oss/env-core": "0.13.8",
|
|
"dotenv": "16.5.0",
|
|
"es-toolkit": "1.39.3",
|
|
"zod": "3.25.57"
|
|
},
|
|
"devDependencies": {
|
|
"@innei/prettier": "0.15.0",
|
|
"consola": "3.4.2",
|
|
"eslint": "9.28.0",
|
|
"eslint-config-hyoban": "4.0.8",
|
|
"fast-glob": "3.3.3",
|
|
"lint-staged": "16.1.0",
|
|
"opentype.js": "1.3.4",
|
|
"prettier": "3.5.3",
|
|
"sharp": "0.34.2",
|
|
"simple-git-hooks": "2.13.0",
|
|
"tailwindcss": "4.1.8",
|
|
"tsx": "4.19.4",
|
|
"typescript": "5.8.3",
|
|
"vite": "6.3.5",
|
|
"vite-bundle-analyzer": "0.22.2",
|
|
"vite-plugin-babel": "1.3.1",
|
|
"vite-plugin-checker": "0.9.3",
|
|
"vite-tsconfig-paths": "5.1.4"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm exec lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --ignore-path ./.gitignore --write "
|
|
],
|
|
"*.{js,ts,cjs,mjs,jsx,tsx,json}": [
|
|
"eslint --fix"
|
|
]
|
|
}
|
|
} |