Fix grpc-tools install script

This allows npm to determine the path to `node-pre-gyp` for the install
script from `grpc-tools` rather than specifying the path. This also
brings the install script in line with the one used for the `grpc`
package.
This commit is contained in:
Daniel McNally 2019-02-20 11:28:53 -05:00
parent 7e49054e51
commit 13ad08e958
No known key found for this signature in database
GPG Key ID: 2D510757156F5E75
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
"grpc_tools_node_protoc_plugin": "./bin/protoc_plugin.js"
},
"scripts": {
"install": "./node_modules/.bin/node-pre-gyp install",
"install": "node-pre-gyp install",
"prepublishOnly": "git submodule update --init --recursive && node copy_well_known_protos.js"
},
"bundledDependencies": ["node-pre-gyp"],