mirror of
https://github.com/luanslimadev/Wand-Enhancer.git
synced 2026-08-28 17:01:05 +00:00
4ce47dc6d2
- Add 6 locales (en-US source + ru-RU, de-DE, fr-FR, es-ES, zh-CN) matching the patcher's WPF UI; full .po catalogs incl. plural forms. - Language selector in the left settings drawer; persist choice and auto-detect from navigator language on first load. - Load .po directly via @lingui/vite-plugin (drop the compile step); gitignore generated catalog .js as build artifacts.
55 lines
1.7 KiB
JSON
Vendored
55 lines
1.7 KiB
JSON
Vendored
{
|
|
"name": "wand-web-panel",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:host": "vite --host 0.0.0.0",
|
|
"build": "tsc --noEmit && vite build && pnpm run build:bridge",
|
|
"build:bridge": "node ./bridge/build.mjs",
|
|
"lint": "eslint src protocol bridge/src --max-warnings=0",
|
|
"typecheck:web": "tsc --noEmit",
|
|
"typecheck:bridge": "tsc -p bridge/tsconfig.json --noEmit",
|
|
"typecheck": "pnpm typecheck:web && pnpm typecheck:bridge",
|
|
"test": "pnpm build:bridge && vitest run",
|
|
"i18n:extract": "lingui extract",
|
|
"i18n:compile": "lingui compile",
|
|
"preview": "vite preview",
|
|
"preview:host": "vite preview --host 0.0.0.0",
|
|
"bridge:demo": "node ./bridge/dev-server.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@lingui/core": "^6.3.0",
|
|
"@lingui/react": "^6.3.0",
|
|
"preact": "^10.27.2",
|
|
"ws": "^8.18.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@lingui/babel-plugin-lingui-macro": "^6.3.0",
|
|
"@lingui/cli": "^6.3.0",
|
|
"@lingui/format-po": "^6.3.0",
|
|
"@lingui/vite-plugin": "^6.3.0",
|
|
"@tailwindcss/vite": "^4.2.1",
|
|
"@testing-library/preact": "^3.2.4",
|
|
"@types/node": "^24.12.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.2.0",
|
|
"esbuild": "0.27.7",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^16.5.0",
|
|
"jsdom": "^29.1.1",
|
|
"prettier": "^3.8.1",
|
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
"tailwindcss": "^4.2.1",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.61.0",
|
|
"vite": "^7.3.2",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|