Unverified Commit 3fb3715c by Sylvester Keil Committed by GitHub

Update node-gyp and node-pre-gyp (#1441)

parent 60a022c5
var binary = require('node-pre-gyp'); var binary = require('@mapbox/node-pre-gyp');
var path = require('path'); var path = require('path');
var binding_path = binary.find(path.resolve(path.join(__dirname,'../package.json'))); var binding_path = binary.find(path.resolve(path.join(__dirname,'../package.json')));
var binding = require(binding_path); var binding = require(binding_path);
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
}, },
"dependencies": { "dependencies": {
"node-addon-api": "^3.0.0", "node-addon-api": "^3.0.0",
"node-pre-gyp": "^0.11.0" "@mapbox/node-pre-gyp": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"@mapbox/cloudfriend": "^1.9.0", "@mapbox/cloudfriend": "^1.9.0",
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
"mocha": "^5.2.0" "mocha": "^5.2.0"
}, },
"peerDependencies": { "peerDependencies": {
"node-gyp": "3.x" "node-gyp": "7.x"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"node-gyp": { "node-gyp": {
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
} }
}, },
"optionalDependencies": { "optionalDependencies": {
"node-gyp": "3.x" "node-gyp": "7.x"
}, },
"scripts": { "scripts": {
"install": "node-pre-gyp install --fallback-to-build", "install": "node-pre-gyp install --fallback-to-build",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment