소스 검색

fixing example install script

Daniel Zlotin 7 년 전
부모
커밋
6b98cea697
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      example/package.json

+ 1
- 0
example/package.json 파일 보기

@@ -3,6 +3,7 @@
3 3
   "version": "0.0.1",
4 4
   "private": true,
5 5
   "scripts": {
6
+    "postinstall": "rm -rf node_modules/react-native-navigation/node_modules && rm -rf node_modules/react-native-navigation/example && rm -rf yarn.lock",
6 7
     "start": "watchman watch-del-all && (adb reverse tcp:8081 tcp:8081 || true) && node node_modules/react-native/local-cli/cli.js start",
7 8
     "xcode": "open ios/example.xcodeproj",
8 9
     "android": "cd android && ./gradlew installDebug"