Skip to content

Commit b2641c5

Browse files
committed
Use buildDependencies package
1 parent 5e842ce commit b2641c5

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,18 @@
4949
"author": "Jesús Leganés Combarro 'piranna' <[email protected]>",
5050
"license": "MIT",
5151
"dependencies": {
52-
"async": "^2.1.4",
53-
"download-manager": "^0.1.3",
54-
"fs-extra": "^1.0.0",
52+
"builddependencies": "^0.0.1",
5553
"prebuild-install": "2.1.0"
5654
},
55+
"buildDependencies": [
56+
"async",
57+
"download-manager",
58+
"fs-extra"
59+
],
5760
"devDependencies": {
61+
"async": "^2.1.4",
62+
"download-manager": "^0.1.3",
63+
"fs-extra": "^1.0.0",
5864
"prebuild": "^6.0.0"
5965
},
6066
"main": "index.js",

scripts/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DOWNLOAD=https://github.com/NodeOS/nodeos-cross-toolchain/releases/download/v{ve
1010
# Download or build cross-toolchain
1111
#
1212

13-
prebuild-install -d $DOWNLOAD || npm run build || exit 10
13+
prebuild-install -d $DOWNLOAD || (buildDependencies && npm run build) || exit 10
1414

1515
#
1616
# Restore binary symlinks

0 commit comments

Comments
 (0)