Merge pull request #367 from nicolasnoble/better-prepublish

Ensuring the presence of node-pre-gyp before publishing.
This commit is contained in:
Nicolas Noble 2018-05-24 16:00:38 -07:00 committed by GitHub
commit 8d9ee1b623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
"electron-build": "./node_modules/.bin/node-pre-gyp configure build --runtime=electron --disturl=https://atom.io/download/atom-shell",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha test",
"install": "./node_modules/.bin/node-pre-gyp install --fallback-to-build --library=static_library",
"prepublish": "git submodule update --init --recursive"
"prepack": "git submodule update --init --recursive && npm install"
},
"bundledDependencies": [
"node-pre-gyp"

View File

@ -25,7 +25,7 @@
"electron-build": "./node_modules/.bin/node-pre-gyp configure build --runtime=electron --disturl=https://atom.io/download/atom-shell",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha test",
"install": "./node_modules/.bin/node-pre-gyp install --fallback-to-build --library=static_library",
"prepublish": "git submodule update --init --recursive"
"prepack": "git submodule update --init --recursive && npm install"
},
"bundledDependencies": [
"node-pre-gyp"