From 81febaef271560c7a122738a27178af84df50427 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Thu, 14 Apr 2016 17:11:04 -0700 Subject: [PATCH] Use peerDependencies This avoids bugs caused by moment-twitter and the parent loading different instances of moment. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 196859e..cbb60dd 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/hijonathan/moment.twitter/issues" }, - "dependencies": { + "peerDependencies": { "moment": "^2.4.0" }, "devDependencies": {