aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLibravatar mhatvan <markus_hatvan@aon.at>2021-09-14 14:12:07 +0200
committerLibravatar mhatvan <markus_hatvan@aon.at>2021-09-14 14:12:07 +0200
commitb1243eff99bbfadab8f7deb8d714bbebae13e39a (patch)
tree2c1888f53010ea7910c91d9a98c388e87324dfc4 /package.json
parentrefactor: revert the text for some more fields. (diff)
downloadferdium-app-b1243eff99bbfadab8f7deb8d714bbebae13e39a.tar.gz
ferdium-app-b1243eff99bbfadab8f7deb8d714bbebae13e39a.tar.zst
ferdium-app-b1243eff99bbfadab8f7deb8d714bbebae13e39a.zip
chore: add --preserve-whitespace flag for extract script and sync translations
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index c85e73eb8..9add26ec6 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
26 "test": "jest", 26 "test": "jest",
27 "test:watch": "jest --watch", 27 "test:watch": "jest --watch",
28 "lint": "eslint \"{src,scripts,packages,uidev}/**/*.{js,jsx,ts,tsx}\" --quiet --fix", 28 "lint": "eslint \"{src,scripts,packages,uidev}/**/*.{js,jsx,ts,tsx}\" --quiet --fix",
29 "extract": "formatjs extract 'src/**/*.{js,ts}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]'", 29 "extract": "formatjs extract 'src/**/*.{js,ts}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace",
30 "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json", 30 "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json",
31 "manage-translations": "npm run extract && npm run compile && rimraf temp.json", 31 "manage-translations": "npm run extract && npm run compile && rimraf temp.json",
32 "prebuild": "preval-build-info-cli && gulp build", 32 "prebuild": "preval-build-info-cli && gulp build",