瀏覽代碼

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"