From 29a416b7a55fc6a90d02aad6475c5215f4be8daf Mon Sep 17 00:00:00 2001 From: "Isaac Z. Schlueter" Date: Thu, 2 Feb 2012 17:42:55 -0800 Subject: [PATCH] List hiredis as an optional dependency. This will cause npm to attempt to install hiredis when installing redis, but if the hiredis installation fails, it won't cause the redis install to abort. The optionalDependencies feature was added pretty much explicitly for the redis->hiredis use case. :) --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index cf1248cd18e..ac9f0c522b7 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,9 @@ "devDependencies": { "metrics": ">=0.1.5" }, + "optionalDependencies": { + "hiredis": "*" + } "repository": { "type": "git", "url": "git://github.com/mranney/node_redis.git"