Skip to content

Commit 06e1601

Browse files
committed
fix: use postinstall to make sure the script runs on installation as a dependency
1 parent c6f375f commit 06e1601

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
@@ -20,7 +20,8 @@
2020
"test": "mocha test && standard",
2121
"build": "node build.js",
2222
"submodule": "git submodule update --recursive --init",
23-
"prepare": "npm run submodule && npm run build"
23+
"prepare": "npm run submodule && npm run build",
24+
"postinstall": "npm run build"
2425
},
2526
"devDependencies": {
2627
"electron-download": "^3.0.1",

0 commit comments

Comments
 (0)