Pārlūkot izejas kodu

fixing example install script

Daniel Zlotin 8 gadus atpakaļ
vecāks
revīzija
6b98cea697
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      example/package.json

+ 1
- 0
example/package.json Parādīt failu

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