🧑‍💻(frontend) run automatically prettier on translations.json

The frontend translations.json could be validated by
the eslint scripts without running manually
prettier. This commit fixes this by running prettier
script automatically once the frontend translations
are extracted.
This commit is contained in:
daproclaima
2024-06-10 11:56:25 +02:00
committed by Sebastien Nobour
parent e6b5f32a61
commit 0a8c488649

View File

@@ -19,7 +19,7 @@
"ci:build": "yarn APP_DESK run build:ci",
"e2e:test": "yarn APP_E2E run test",
"lint": "yarn APP_DESK run lint && yarn APP_E2E run lint && yarn workspace eslint-config-people run lint && yarn I18N run lint",
"i18n:extract": "yarn I18N run extract-translation",
"i18n:extract": "yarn I18N run extract-translation && yarn APP_DESK prettier",
"i18n:deploy": "yarn I18N run format-deploy",
"i18n:test": "yarn I18N run test"
},