mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-07 17:34:56 +05:30
chore: bundle translations at build time
This commit is contained in:
parent
6c9898f2d3
commit
58dc97c920
5 changed files with 732 additions and 11 deletions
|
|
@ -14,7 +14,9 @@
|
|||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"prebuild": "npm run download-translations",
|
||||
"build": "tsc && vite build",
|
||||
"download-translations": "locize download --project-id e7156a3e-66fb-4035-a0f0-cebf1c63a3ba --api-key $LOCIZE_API_KEY --path ./public/locales",
|
||||
"serve": "vite preview",
|
||||
"test": "vitest",
|
||||
"test:e2e": "playwright test",
|
||||
|
|
@ -51,6 +53,7 @@
|
|||
"fast-xml-parser": "^5.2.5",
|
||||
"formik": "^2.4.6",
|
||||
"i18next": "^25.3.2",
|
||||
"i18next-http-backend": "^3.0.2",
|
||||
"i18next-locize-backend": "^7.0.4",
|
||||
"jimp": "^0.22.12",
|
||||
"js-quantities": "^1.8.0",
|
||||
|
|
@ -107,6 +110,7 @@
|
|||
"eslint-plugin-tailwindcss": "^3.17.0",
|
||||
"happy-dom": "^12.10.3",
|
||||
"husky": "^9.0.11",
|
||||
"locize-cli": "^10.1.1",
|
||||
"postcss": "^8.4.38",
|
||||
"prettier": "3.1.1",
|
||||
"start-server-and-test": "^2.0.4",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue