Skip to content

Commit 680b862

Browse files
committed
fix: use preinstall to make sure the script runs on installation as a dependency
1 parent c6f375f commit 680b862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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+
"preinstall": "npm run submodule && npm run build"
2424
},
2525
"devDependencies": {
2626
"electron-download": "^3.0.1",

0 commit comments

Comments
 (0)