Skip to content

Commit b594f74

Browse files
committed
fix: use pod-install for windows compatibility
1 parent 4a66445 commit b594f74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/common/$package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prepare": "bob build",
2323
"release": "release-it",
2424
"example": "yarn --cwd example",
25-
"pods": "node -e \"process.exit(require('os').platform() !== 'darwin')\" && test -d example/ios && cd example/ios && pod install || printf ''",
25+
"pods": "cd example && pod-install --quiet",
2626
"bootstrap": "yarn example && yarn && yarn pods"
2727
},
2828
"keywords": [
@@ -51,6 +51,7 @@
5151
"eslint-plugin-prettier": "^3.1.3",
5252
"husky": "^4.2.5",
5353
"jest": "^26.0.1",
54+
"pod-install": "^0.1.0",
5455
"prettier": "^2.0.5",
5556
"react": "~16.9.0",
5657
"react-native": "~0.61.5",

0 commit comments

Comments
 (0)