You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by nk...@apache.org on 2019/07/23 01:25:33 UTC

[pulsar-client-node] branch master updated: added node-pre-gyp support

This is an automated email from the ASF dual-hosted git repository.

nkurihar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new edaf504  added node-pre-gyp support
     new f81d66b  Merge pull request #38 from freeart/master
edaf504 is described below

commit edaf5041df35ecbe841b68c91b2cd62268d40a0b
Author: Pavel Nekrasov <pa...@resultdevelopment.com>
AuthorDate: Fri Jul 19 10:57:55 2019 +0200

    added node-pre-gyp support
---
 package.json | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/package.json b/package.json
index 9128e58..2d77ecc 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,7 @@
     "example": "examples"
   },
   "scripts": {
+    "install": "node-pre-gyp install --fallback-to-build",
     "clean": "node-gyp clean",
     "configure": "node-gyp configure",
     "lint": "eslint --ext .js .",
@@ -38,11 +39,17 @@
     "grunt-license-report": "^0.0.8",
     "hdr-histogram-js": "^1.1.4",
     "jest": "^24.7.1",
-    "lodash": "^4.17.11",
-    "node-addon-api": "^1.6.2",
-    "node-gyp": "^3.8.0"
+    "lodash": "^4.17.11"
   },
   "dependencies": {
-    "bindings": "^1.3.1"
+    "bindings": "^1.3.1",
+    "node-addon-api": "^1.6.2",
+    "node-gyp": "^3.8.0",
+    "node-pre-gyp": "^0.12.0"
+  },
+  "binary": {
+    "module_name": "libpulsar",
+    "module_path": "./build/Release",
+    "host": "https://pulsar.apache.org/docs/en/client-libraries-cpp/"
   }
-}
+}
\ No newline at end of file