Fix for yarn not fetching git submodules

This commit is contained in:
Wes Zheng 2017-10-30 17:38:11 -07:00
parent 4e2dba4924
commit 1d16c7c218
1 changed files with 2 additions and 1 deletions

View File

@ -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",