Fix for yarn not fetching git submodules
This commit is contained in:
parent
4e2dba4924
commit
1d16c7c218
|
@ -27,7 +27,8 @@
|
||||||
"format": "prettier --write --no-semi --single-quote --trailing-comma all ./FastImage.js ./example/*.js ./server/*.js",
|
"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": "yarn run test:pretty && yarn run test:jest",
|
||||||
"test:jest": "jest *.js",
|
"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": {
|
"devDependencies": {
|
||||||
"babel-jest": "^20.0.3",
|
"babel-jest": "^20.0.3",
|
||||||
|
|
Loading…
Reference in New Issue