From 54b5b62f78747d34bf325d490abb1a71d04f1ee9 Mon Sep 17 00:00:00 2001 From: Samarendra M Hedaoo Date: Tue, 20 Oct 2015 13:47:17 -0700 Subject: [PATCH] Adding http as failover for react-tools git repo. Summary: Fixes #2797 for me. Most times git://github.com/facebook/react-tools times out. So adding http as a fail-over so that if git protocol doesn't work while cloning the react-tools repo as a dependency, http would atleast work and ensure that a simple "react-native init myProject" doesn't fail. Submitting a PR so that http is used as a failover when cloning. (I guess that is what git+http does in package.json) Closes https://github.com/facebook/react-native/pull/3514 Reviewed By: svcscm Differential Revision: D2561417 Pulled By: spicyj fb-gh-sync-id: ac421a7f57474124875a5cabdc5a34801019f6cd --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 46c1093c3..b68f05cd3 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "progress": "^1.1.8", "promise": "^7.0.4", "react-timer-mixin": "^0.13.2", - "react-tools": "git://github.com/facebook/react#b4e74e38e43ac53af8acd62c78c9213be0194245", + "react-tools": "https://api.github.com/repos/facebook/react/tarball/b4e74e38e43ac53af8acd62c78c9213be0194245", "rebound": "^0.0.13", "regenerator": "^0.8.36", "sane": "^1.2.0",