From 0fd7d2cd56a1b807c333dbed64db0150446ad5ef Mon Sep 17 00:00:00 2001 From: Jim Zhang Date: Mon, 6 Feb 2017 13:27:54 -0500 Subject: [PATCH] Fix missing package winston FAB-2034 winston is required as the default logger used by both fabric-client and fabric-ca-client. It's currently specified as a dev dependency so if node.js app use the npm production mode install this will not be installed. Fix is to move this to the "for-production" dependency list Change-Id: Ib62d90131166bdea00c94286faf3ba0af64f8dac Signed-off-by: Jim Zhang --- fabric-ca-client/package.json | 3 ++- fabric-client/package.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fabric-ca-client/package.json b/fabric-ca-client/package.json index d70d171921..173ab77b4c 100644 --- a/fabric-ca-client/package.json +++ b/fabric-ca-client/package.json @@ -26,7 +26,8 @@ "sjcl-codec": "0.1.1", "tar-fs": "^1.13.0", "url": "^0.11.0", - "util": "^0.10.3" + "util": "^0.10.3", + "winston": "^2.2.0" }, "license": "Apache-2.0", "licenses": [{ diff --git a/fabric-client/package.json b/fabric-client/package.json index ddf931c1cf..ba21c1ffb3 100644 --- a/fabric-client/package.json +++ b/fabric-client/package.json @@ -46,7 +46,8 @@ "tar-fs": "^1.13.0", "url": "^0.11.0", "util": "^0.10.3", - "uuidv4": "^0.3.1" + "uuidv4": "^0.3.1", + "winston": "^2.2.0" }, "devDependencies": { "bunyan": "^1.8.1", @@ -60,8 +61,7 @@ "require-dir": "^0.3.0", "tap-colorize": "^1.2.0", "tape": "^4.5.1", - "tape-promise": "^1.1.0", - "winston": "^2.2.0" + "tape-promise": "^1.1.0" }, "license": "Apache-2.0", "licenses": [