Browse Source

fixing example install script

Daniel Zlotin 7 years ago
parent
commit
6b98cea697
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      example/package.json

+ 1
- 0
example/package.json View File

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