diff --git a/package.json b/package.json index 22930b68716..2277deadefc 100644 --- a/package.json +++ b/package.json @@ -204,7 +204,8 @@ "test:server": "cd server && yarn test", "test:types": "tsc --project tsconfig.build.json --noEmit && cd server && tsc --noEmit", "translate:extract": "i18next-scanner 'src/{page,script}/**/*.{js,html,htm}'", - "translate:merge": "formatjs extract --format './bin/translations_extract_formatter.js' --out-file './src/i18n/en-US.json'" + "translate:merge": "formatjs extract --format './bin/translations_extract_formatter.js' --out-file './src/i18n/en-US.json'", + "translate:generate-types": "node ./bin/transalations_generate_types.js" }, "resolutions": { "libsodium": "0.7.10",