chore: build when installed from git source

Enables yarn add git+https://github.com/webrecorder/replayweb.page.git#dev-2.0.0
This commit is contained in:
sua yoo
2023-12-04 14:38:17 -08:00
parent 8f7ce42913
commit 4e08272a38
2 changed files with 49 additions and 2 deletions
+4 -2
View File
@@ -86,7 +86,7 @@
"release": "yarn run build && electron-builder",
"lint": "eslint ./",
"format": "prettier --write ./",
"prepare": "husky install"
"prepare": "husky install; node scripts/build-if-not-git-repo.js"
},
"build": {
"afterSign": "build/notarize.js",
@@ -102,7 +102,9 @@
"dist/*.js",
"dist/prebuilds/${platform}-${arch}/*",
"dist/build/*",
"*.js",
"index.js",
"ui.js",
"sw.js",
"*.html",
"ruffle",
"webmanifest.json",