From 13ad08e9582ec0d70a0121b51a9791a5ba4dfbe9 Mon Sep 17 00:00:00 2001 From: Daniel McNally Date: Wed, 20 Feb 2019 11:28:53 -0500 Subject: [PATCH] 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. --- packages/grpc-tools/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grpc-tools/package.json b/packages/grpc-tools/package.json index 192759e6..f47fc880 100644 --- a/packages/grpc-tools/package.json +++ b/packages/grpc-tools/package.json @@ -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"],