Skip to content

Commit 7bd769c

Browse files
committed
Use prebuild-install.
1 parent d935e41 commit 7bd769c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"typings": "index.d.ts",
77
"scripts": {
88
"test": "node test/all.js",
9-
"install": "prebuild --install"
9+
"install": "prebuild-install || node-gyp rebuild"
1010
},
1111
"repository": {
1212
"type": "git",
@@ -38,9 +38,10 @@
3838
"homepage": "https://github.com/octalmage/robotjs",
3939
"dependencies": {
4040
"nan": "^2.2.1",
41-
"prebuild": "v6.1.0"
41+
"prebuild-install": "^2.1.1"
4242
},
4343
"devDependencies": {
44-
"tape": "^3.5.0"
44+
"tape": "^3.5.0",
45+
"prebuild": "v6.1.0",
4546
}
4647
}

0 commit comments

Comments
 (0)