feat: add package.json i18n scripts

This commit is contained in:
Maël Gangloff 2024-07-28 18:34:08 +02:00
parent ea5e9cf944
commit f158c369c3
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -50,7 +50,9 @@
"dev-server": "encore dev-server",
"dev": "encore dev",
"watch": "encore dev --watch",
"build": "encore production --progress"
"build": "encore production --progress",
"ttag:po2json": "cd translations; for i in $(find . -name \"*.po\"); do ttag po2json $i > ../public/locales/$i.json; done; cd ..",
"ttag:extract": "ttag extract assets/**/*.{ts,tsx} -o translations/translations.pot"
},
"dependencies": {
"remove": "^0.1.5"