From 0c21de1c97f349de6ced777aacea61575bc3982a Mon Sep 17 00:00:00 2001 From: Dan Hodos Date: Thu, 19 Oct 2017 19:08:18 -0500 Subject: [PATCH] Workaround for yarn not fetching git submodules https://github.com/yarnpkg/yarn/issues/1488 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9f9ed695b..5646324bd 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 submodule update --init --recursive" }, "devDependencies": { "babel-jest": "^20.0.3",