diff --git a/package.json b/package.json index 8081fb4..73e93a1 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,16 @@ "type": "git", "url": "git://github.com/DennisOSRM/Project-OSRM.git" }, + "binary": { + "module_name": "osrm", + "module_path": "./lib", + "remote_uri": "http://node-osrm.s3.amazonaws.com", + "template": "{module_name}-v{major}.{minor}.{patch}-{node_abi}-{platform}-{arch}.tar.gz" + }, + "dependencies": { + "node-pre-gyp": "0.1.x" + }, + "bundledDependencies":["node-pre-gyp"], "licenses": [ { "type": "BSD" @@ -30,6 +40,7 @@ "node": ">= 0.6.13 < 0.11.0" }, "scripts": { + "install": "node-pre-gyp rebuild", "test": "mocha -R spec" } } \ No newline at end of file