Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 8be7aa5

Browse files
author
Simon Hofmann
committed
Restructrured installation of dependencies
1 parent 2c9dd15 commit 8be7aa5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@
3333
"main": "./lib/opencv4nodejs.js",
3434
"typings": "./lib/index.d.ts",
3535
"scripts": {
36-
"deps": "node ./install.js",
37-
"install": "prebuild-install --verbose || npm run rebuild",
36+
"install": "prebuild-install --verbose || (node ./install.js && node-gyp rebuild)",
3837
"configure": "node-gyp configure",
39-
"build": "npm run deps && node-gyp configure build",
40-
"rebuild": "npm run deps && node-gyp rebuild",
38+
"build": "node ./install.js && node-gyp configure build",
39+
"rebuild": "node ./install.js && node-gyp rebuild",
4140
"clean": "node-gyp clean",
42-
"prebuild": "npm run deps && prebuild",
43-
"build-debug": "npm run deps && node-gyp rebuild --debug"
41+
"prebuild": "node ./install.js && prebuild",
42+
"build-debug": "node ./install.js && node-gyp rebuild --debug"
4443
},
4544
"gypfile": true,
4645
"dependencies": {

0 commit comments

Comments
 (0)