You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ma...@apache.org on 2019/08/06 04:35:54 UTC
[pulsar-client-node] 39/45: added node-pre-gyp support
This is an automated email from the ASF dual-hosted git repository.
massakam pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git
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