mirror of https://github.com/grpc/grpc-node.git
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:
parent
7e49054e51
commit
13ad08e958
|
@ -20,7 +20,7 @@
|
||||||
"grpc_tools_node_protoc_plugin": "./bin/protoc_plugin.js"
|
"grpc_tools_node_protoc_plugin": "./bin/protoc_plugin.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"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"
|
"prepublishOnly": "git submodule update --init --recursive && node copy_well_known_protos.js"
|
||||||
},
|
},
|
||||||
"bundledDependencies": ["node-pre-gyp"],
|
"bundledDependencies": ["node-pre-gyp"],
|
||||||
|
|
Loading…
Reference in New Issue