diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-02-12 18:34:52 -0800 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2015-02-17 10:48:41 -0500 |
commit | cc1783298c7e5f8ded8135667e29332c7a47ce03 (patch) | |
tree | 870bddca8f020bd2be5dc1ba4a7a53a4cd0fe6b8 /package.json | |
parent | 2d635e2883591863b68cedb3bdcd5732d5725dcf (diff) | |
download | qtlocation-mapboxgl-cc1783298c7e5f8ded8135667e29332c7a47ce03.tar.gz |
add node-pre-gyp
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/package.json b/package.json index c60a03c382..46b54b191d 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,12 @@ } ], "dependencies": { - "nan": "^1.4.1" + "nan": "^1.4.1", + "node-pre-gyp": "^0.6.4" }, + "bundledDependencies": [ + "node-pre-gyp" + ], "devDependencies": { "aws-sdk": "^2.1.9", "mapbox-gl-test-suite": "git://github.com/mapbox/mapbox-gl-test-suite#master", @@ -31,5 +35,12 @@ "install": "make", "test": "make test" }, - "gypfile": true + "gypfile": true, + "binary": { + "module_name": "mbgl", + "module_path": "./lib/", + "host": "https://mapbox-node-binary.s3.amazonaws.com", + "remote_path": "./{name}/v{version}", + "package_name": "{node_abi}-{platform}-{arch}.tar.gz" + } } |