diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-06-29 22:03:33 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 16:33:33 +0000 |
commit | ddc518af664c1f226525ef284131490e80934bfd (patch) | |
tree | c7a558bb5b598844778c1a4f6e20ca5951be4b52 /package.json | |
parent | Fix missing translations (#394) (diff) | |
download | ferdium-app-ddc518af664c1f226525ef284131490e80934bfd.tar.gz ferdium-app-ddc518af664c1f226525ef284131490e80934bfd.tar.zst ferdium-app-ddc518af664c1f226525ef284131490e80934bfd.zip |
'jsx' files were not being pre-processed for i18n (#395)
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index cd45aa2bc..a56f6e53f 100644 --- a/package.json +++ b/package.json | |||
@@ -28,7 +28,7 @@ | |||
28 | "test:watch": "jest --watch", | 28 | "test:watch": "jest --watch", |
29 | "lint": "eslint \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\" --quiet", | 29 | "lint": "eslint \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\" --quiet", |
30 | "lint:fix": "npm run lint -- --fix", | 30 | "lint:fix": "npm run lint -- --fix", |
31 | "extract": "formatjs extract 'src/**/*.{js,ts,tsx}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", | 31 | "extract": "formatjs extract 'src/**/*.{js,jsx,ts,tsx}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", |
32 | "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json", | 32 | "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json", |
33 | "manage-translations": "npm run extract && npm run compile && rimraf temp.json", | 33 | "manage-translations": "npm run extract && npm run compile && rimraf temp.json", |
34 | "build": "preval-build-info-cli && gulp build && electron-builder", | 34 | "build": "preval-build-info-cli && gulp build && electron-builder", |