Skip to content

Commit

Permalink
chore(deps): move to latest node-pre-gyp/node-pre-gyp-init
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Mar 9, 2021
1 parent d97ac0c commit 7bf5d21
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 397 deletions.
2 changes: 1 addition & 1 deletion bin/build-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (process.platform !== 'darwin') {
const path = require('path');
const pkgJson = require(path.resolve(__dirname + '/../package.json'));
const targets = Object.keys(pkgJson.binary.targets);
const nodePreGyp = path.resolve(__dirname, '..', 'node_modules', 'node-pre-gyp', 'bin', 'node-pre-gyp');
const nodePreGyp = path.resolve(__dirname, '..', 'node_modules', '@mapbox', 'node-pre-gyp', 'bin', 'node-pre-gyp');
const actions = [ 'rebuild' ];

if (process.env.npm_lifecycle_event === 'prepare') {
Expand Down
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,10 @@
"devices"
],
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.1",
"debug": "^4.2.0",
"nan": "^2.14.2",
"node-pre-gyp": "^0.16.0",
"node-pre-gyp-init": "^1.1.0"
},
"bundledDependencies": [
"node-pre-gyp"
],
"devDependencies": {
"aws-sdk": "^2.600.0"
"node-pre-gyp-init": "^1.2.0"
},
"scripts": {
"install": "node ./bin/run.js node-pre-gyp install --fallback-to-build",
Expand Down
Loading

0 comments on commit 7bf5d21

Please sign in to comment.