mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 11:15:53 +03:00
Switch prepublishOnly to prepack to catch errors earlier (#12202)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a3a387a1dd
commit
c6dddf813c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
"UserFriendlyError"
|
||||
],
|
||||
"scripts": {
|
||||
"prepublishOnly": "yarn build",
|
||||
"prepack": "yarn build",
|
||||
"i18n": "matrix-gen-i18n && yarn i18n:sort && yarn i18n:lint",
|
||||
"i18n:sort": "jq --sort-keys '.' src/i18n/strings/en_EN.json > src/i18n/strings/en_EN.json.tmp && mv src/i18n/strings/en_EN.json.tmp src/i18n/strings/en_EN.json",
|
||||
"i18n:lint": "matrix-i18n-lint && prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null",
|
||||
|
|
Loading…
Reference in a new issue