Skip to content

Commit 0b66b34

Browse files
committed
feat: Allow usage of direct from git repo
E.g. when used as a dependency like in yarn with something like: "resolutions": { "atem-connection": "github:Sofie-automation/sofie-atem-connection#branchname" },
1 parent c1159ea commit 0b66b34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
}
2525
],
2626
"scripts": {
27-
"postinstall": "./node_modules/.bin/husky install",
27+
"prepare": "run build:main",
28+
"postinstall": "husky install || true",
2829
"prepack": "pinst --disable",
2930
"postpack": "pinst --enable",
3031
"build": "rimraf dist && run build:main",

0 commit comments

Comments
 (0)