소스 검색

fixed incorrect export of iOS into android index

Daniel Zlotin 8 년 전
부모
커밋
2458759070
4개의 변경된 파일16개의 추가작업 그리고 8개의 파일을 삭제
  1. 1
    1
      example-redux/package.json
  2. 6
    0
      src/deprecated/indexDeprecated.android.js
  3. 8
    0
      src/deprecated/indexDeprecated.ios.js
  4. 1
    7
      src/index.js

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

@@ -3,7 +3,7 @@
3 3
   "version": "0.0.1",
4 4
   "private": true,
5 5
   "scripts": {
6
-    "start": "node node_modules/react-native/local-cli/cli.js start"
6
+    "start": "watchman watch-del-all && node node_modules/react-native/local-cli/cli.js start"
7 7
   },
8 8
   "dependencies": {
9 9
     "react-native": "0.25.1",

+ 6
- 0
src/deprecated/indexDeprecated.android.js 파일 보기

@@ -0,0 +1,6 @@
1
+import Navigation from './../Navigation';
2
+
3
+module.exports = {
4
+  Navigation
5
+};
6
+

+ 8
- 0
src/deprecated/indexDeprecated.ios.js 파일 보기

@@ -0,0 +1,8 @@
1
+import Navigation from './../Navigation';
2
+import {NavigationToolBarIOS} from 'react-native-controllers';
3
+
4
+module.exports = {
5
+  Navigation,
6
+  NavigationToolBarIOS
7
+};
8
+

+ 1
- 7
src/index.js 파일 보기

@@ -1,7 +1 @@
1
-import Navigation from './Navigation';
2
-import {NavigationToolBarIOS} from 'react-native-controllers';
3
-
4
-module.exports = {
5
-  Navigation,
6
-  NavigationToolBarIOS
7
-};
1
+module.exports = require('./deprecated/indexDeprecated');