Skip to content

Commit

Permalink
List hiredis as an optional dependency.
Browse files Browse the repository at this point in the history
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. :)
  • Loading branch information
isaacs committed Feb 3, 2012
1 parent 3a7c638 commit 29a416b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"devDependencies": {
"metrics": ">=0.1.5"
},
"optionalDependencies": {
"hiredis": "*"
}
"repository": {
"type": "git",
"url": "git://github.com/mranney/node_redis.git"
Expand Down

0 comments on commit 29a416b

Please sign in to comment.