From 3680966be5a66e8295d50cea75ccee46da998ef9 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Fri, 27 Jul 2018 15:03:49 -0700 Subject: [PATCH] Don't refer to node-pre-gyp with a relative path --- packages/grpc-native-core/package.json | 8 ++++---- packages/grpc-native-core/templates/package.json.template | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/grpc-native-core/package.json b/packages/grpc-native-core/package.json index 4e40a70d..cf581ea7 100644 --- a/packages/grpc-native-core/package.json +++ b/packages/grpc-native-core/package.json @@ -19,10 +19,10 @@ "lib": "src" }, "scripts": { - "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", + "build": "node-pre-gyp build", + "electron-build": "node-pre-gyp configure build --runtime=electron --disturl=https://atom.io/download/atom-shell", + "coverage": "istanbul cover ./node_modules/.bin/_mocha test", + "install": "node-pre-gyp install --fallback-to-build --library=static_library", "prepack": "git submodule update --init --recursive && npm install" }, "bundledDependencies": [ diff --git a/packages/grpc-native-core/templates/package.json.template b/packages/grpc-native-core/templates/package.json.template index fe7fa697..a6d580a8 100644 --- a/packages/grpc-native-core/templates/package.json.template +++ b/packages/grpc-native-core/templates/package.json.template @@ -21,10 +21,10 @@ "lib": "src" }, "scripts": { - "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", + "build": "node-pre-gyp build", + "electron-build": "node-pre-gyp configure build --runtime=electron --disturl=https://atom.io/download/atom-shell", + "coverage": "istanbul cover ./node_modules/.bin/_mocha test", + "install": "node-pre-gyp install --fallback-to-build --library=static_library", "prepack": "git submodule update --init --recursive && npm install" }, "bundledDependencies": [