From 1d16c7c21832ab6bc5501072e8f9f16d663f4e39 Mon Sep 17 00:00:00 2001 From: Wes Zheng Date: Mon, 30 Oct 2017 17:38:11 -0700 Subject: [PATCH] Fix for yarn not fetching git submodules --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9f9ed69..1c4e603 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "format": "prettier --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./server/*.js", "test": "yarn run test:pretty && yarn run test:jest", "test:jest": "jest *.js", - "test:pretty": "prettier-check --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./server/*.js" + "test:pretty": "prettier-check --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./server/*.js", + "postinstall": "git clone https://github.com/rs/SDWebImage.git ios/Vendor/SDWebImage && cd ios/Vendor/SDWebImage && git submodule update --init --recursive && cd ../../.." }, "devDependencies": { "babel-jest": "^20.0.3",