From 15febd13b2b4cefbed9c45f6a863bdfcaca8b58d Mon Sep 17 00:00:00 2001 From: Ilguiz Latypov Date: Thu, 30 Aug 2018 22:18:52 -0400 Subject: [PATCH] Allow using an enterprise artifactory. Revert to using a deep path so that the local artifactory can host gyp binaries of different packages. A small change in node-pre-gyp will allow to use a single .npmrc variable to host binary requisites for many packages in one enterprise artifactory. https://github.com/mapbox/node-pre-gyp/pull/416 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f94ddde4..422b3df0 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,8 @@ "module_name": "bcrypt_lib", "module_path": "./lib/binding/napi-v{napi_build_version}", "package_name": "{module_name}-v{version}-napi-v{napi_build_version}-{platform}-{arch}-{libc}.tar.gz", - "host": "https://github.com/kelektiv/node.bcrypt.js/releases/download/", - "remote_path": "v{version}", + "host": "https://github.com", + "remote_path": "kelektiv/node.bcrypt.js/releases/download/v{version}", "napi_versions": [ 3 ]