Stop myself from publishing packages with a mismatched submodule

This commit is contained in:
murgatroid99 2018-05-09 10:29:02 -07:00
parent f91f4f6cfd
commit cb51e1f84f
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"