Change prepublish script to prepare

prepublish is deprecated (prepare also runs for git checkouts, and
lib will need to be built in this case).
This commit is contained in:
David Baker 2020-01-22 14:15:17 +00:00
parent 684974372d
commit 2842e8dee8

View file

@ -31,7 +31,7 @@
"typings": "./lib/index.d.ts",
"matrix_src_main": "./src/index.js",
"scripts": {
"prepublish": "yarn build",
"prepare": "yarn build",
"i18n": "matrix-gen-i18n",
"prunei18n": "matrix-prune-i18n",
"diff-i18n": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && ./scripts/gen-i18n.js && node scripts/compare-file.js src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json",