Skip to content

Commit

Permalink
Switch prepublishOnly to prepack to catch errors earlier (matrix-org#…
Browse files Browse the repository at this point in the history
…12202)

Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy authored Feb 1, 2024
1 parent a3a387a commit c6dddf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c6dddf8

Please sign in to comment.