Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Run node-gyp and node-gyp-build via npx
Browse files Browse the repository at this point in the history
Otherwise system versions are run and trigger
nodejs/node-gyp#2005 bug which is already
fixed in node-gyp 6.1.0.
  • Loading branch information
Alexander Krotov authored and Jikstra committed Jan 24, 2020
1 parent f1e0c88 commit eaa61df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"coverage-html-report": "rm -rf coverage/ && nyc report --reporter=html && opn coverage/index.html",
"generate-constants": "./scripts/generate-constants.js",
"install": "node scripts/install.js",
"node-gyp-build": "node-gyp-build \"node scripts/rebuild-core.js\" \"node scripts/postinstall.js\"",
"node-gyp-build": "npx node-gyp-build \"node scripts/rebuild-core.js\" \"node scripts/postinstall.js\"",
"rebuild-all": "npm run rebuild-core && npm run rebuild-bindings",
"rebuild-core": "node scripts/rebuild-core.js",
"rebuild-bindings": "node-gyp rebuild && npm run generate-constants",
"rebuild-bindings": "npx node-gyp rebuild && npm run generate-constants",
"prebuild": "prebuildify -t 10.16.0 --napi --strip --postinstall \"node scripts/postinstall.js --prebuild\"",
"download-prebuilds": "prebuildify-ci download",
"submodule": "git submodule update --recursive --init",
Expand Down

0 comments on commit eaa61df

Please sign in to comment.