1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

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. :)
This commit is contained in:
Isaac Z. Schlueter
2012-02-02 17:42:55 -08:00
parent 3a7c6388de
commit 29a416b7a5

View File

@@ -22,6 +22,9 @@
"devDependencies": {
"metrics": ">=0.1.5"
},
"optionalDependencies": {
"hiredis": "*"
}
"repository": {
"type": "git",
"url": "git://github.com/mranney/node_redis.git"