From b8457fc0f5cc7a1649a7598e1fe3021e466eed5e Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 19 Dec 2013 00:07:50 -0500 Subject: [PATCH] start preferring binary install --- package.json | 11 +++++++++++ 1 file changed, 11 insertions(+) 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