Merge pull request #328 from murgatroid99/prepublish_submodule_guard

Stop myself from publishing packages with a mismatched submodule
This commit is contained in:
Michael Lumish 2018-05-15 12:02:25 -07:00 committed by GitHub
commit 4ec3a2e877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,8 @@
"build": "./node_modules/.bin/node-pre-gyp build",
"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"
"install": "./node_modules/.bin/node-pre-gyp install --fallback-to-build --library=static_library",
"prepublish": "git submodule update --init --recursive"
},
"bundledDependencies": [
"node-pre-gyp"

View File

@ -24,7 +24,8 @@
"build": "./node_modules/.bin/node-pre-gyp build",
"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"
"install": "./node_modules/.bin/node-pre-gyp install --fallback-to-build --library=static_library",
"prepublish": "git submodule update --init --recursive"
},
"bundledDependencies": [
"node-pre-gyp"