diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-06-26 09:03:23 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-06-26 10:51:56 -0700 |
commit | 488b68c693eab047972928ca195b804733ccbabf (patch) | |
tree | 03256f409a23bb92176e27dbdc4d23130b0af2bf /package.json | |
parent | 95fd7ee74257fded4a23cf8c06144f276804a04c (diff) | |
download | qtlocation-mapboxgl-488b68c693eab047972928ca195b804733ccbabf.tar.gz |
[node] add compatibility with node-pre-gyp binary publishing
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json index b2102354bd..196ace512b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "license": "BSD-2-Clause", "dependencies": { - "@mapbox/cmake-node-module": "^1.0.0", + "@mapbox/cmake-node-module": "^1.1.0", "node-pre-gyp": "^0.6.37", "npm-run-all": "^4.0.2" }, @@ -47,8 +47,8 @@ }, "gypfile": true, "binary": { - "module_name": "mapbox_gl_native", - "module_path": "./lib/", + "module_name": "mbgl", + "module_path": "./lib/{node_abi}", "host": "https://mapbox-node-binary.s3.amazonaws.com", "remote_path": "./{name}/v{version}", "package_name": "{node_abi}-{platform}-{arch}-{configuration}.tar.gz" |