소스 검색

搭建Rudex架构项目

Arison 6 년 전
부모
커밋
dddd33be55
2개의 변경된 파일37개의 추가작업 그리고 16개의 파일을 삭제
  1. 31 10
      package-lock.json
  2. 6 6
      package.json

+ 31 - 10
package-lock.json

@@ -5453,6 +5453,15 @@
         "@babel/core": "^7.0.0"
       }
     },
+    "metro-babel7-plugin-react-transform": {
+      "version": "0.54.1",
+      "resolved": "https://registry.npm.taobao.org/metro-babel7-plugin-react-transform/download/metro-babel7-plugin-react-transform-0.54.1.tgz",
+      "integrity": "sha1-UzW4EChHiXJIhtxIPVvenBSaGZY=",
+      "dev": true,
+      "requires": {
+        "@babel/helper-module-imports": "^7.0.0"
+      }
+    },
     "metro-cache": {
       "version": "0.51.1",
       "resolved": "https://registry.npm.taobao.org/metro-cache/download/metro-cache-0.51.1.tgz?cache=0&sync_timestamp=1562226704926&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmetro-cache%2Fdownload%2Fmetro-cache-0.51.1.tgz",
@@ -5889,9 +5898,9 @@
       }
     },
     "metro-react-native-babel-preset": {
-      "version": "0.55.0",
-      "resolved": "https://registry.npm.taobao.org/metro-react-native-babel-preset/download/metro-react-native-babel-preset-0.55.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmetro-react-native-babel-preset%2Fdownload%2Fmetro-react-native-babel-preset-0.55.0.tgz",
-      "integrity": "sha1-1dSmy+nMvO3XL8u3HAwxHj1Wh24=",
+      "version": "0.54.1",
+      "resolved": "https://registry.npm.taobao.org/metro-react-native-babel-preset/download/metro-react-native-babel-preset-0.54.1.tgz?cache=0&sync_timestamp=1565618739043&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmetro-react-native-babel-preset%2Fdownload%2Fmetro-react-native-babel-preset-0.54.1.tgz",
+      "integrity": "sha1-uPA4ZcOBhB1/iRLnukaATqOpKLg=",
       "dev": true,
       "requires": {
         "@babel/plugin-proposal-class-properties": "^7.0.0",
@@ -5928,7 +5937,8 @@
         "@babel/plugin-transform-typescript": "^7.0.0",
         "@babel/plugin-transform-unicode-regex": "^7.0.0",
         "@babel/template": "^7.0.0",
-        "react-refresh": "^0.2.0"
+        "metro-babel7-plugin-react-transform": "0.54.1",
+        "react-transform-hmr": "^1.0.4"
       }
     },
     "metro-react-native-babel-transformer": {
@@ -7111,6 +7121,23 @@
         }
       }
     },
+    "react-native-gesture-handler": {
+      "version": "1.3.0",
+      "resolved": "https://registry.npm.taobao.org/react-native-gesture-handler/download/react-native-gesture-handler-1.3.0.tgz",
+      "integrity": "sha1-0DhvVlkozMGElTfwPy43/V9q1D8=",
+      "requires": {
+        "hoist-non-react-statics": "^2.3.1",
+        "invariant": "^2.2.2",
+        "prop-types": "^15.5.10"
+      },
+      "dependencies": {
+        "hoist-non-react-statics": {
+          "version": "2.5.5",
+          "resolved": "https://registry.npm.taobao.org/hoist-non-react-statics/download/hoist-non-react-statics-2.5.5.tgz",
+          "integrity": "sha1-xZA89AnA39kI84jmGdhrnBF0y0c="
+        }
+      }
+    },
     "react-native-safe-area-view": {
       "version": "0.14.7",
       "resolved": "https://registry.npm.taobao.org/react-native-safe-area-view/download/react-native-safe-area-view-0.14.7.tgz",
@@ -7207,12 +7234,6 @@
         "react-is": "^16.8.6"
       }
     },
-    "react-refresh": {
-      "version": "0.2.0",
-      "resolved": "https://registry.npm.taobao.org/react-refresh/download/react-refresh-0.2.0.tgz?cache=0&sync_timestamp=1565317893686&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact-refresh%2Fdownload%2Freact-refresh-0.2.0.tgz",
-      "integrity": "sha1-8M/zdej3XepxM6hHobQM9cBz3Q0=",
-      "dev": true
-    },
     "react-test-renderer": {
       "version": "16.8.3",
       "resolved": "https://registry.npm.taobao.org/react-test-renderer/download/react-test-renderer-16.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact-test-renderer%2Fdownload%2Freact-test-renderer-16.8.3.tgz",

+ 6 - 6
package.json

@@ -10,18 +10,18 @@
     "axios": "^0.19.0",
     "react": "16.8.3",
     "react-native": "0.59.9",
-    "react-navigation": "^3.11.1",
+    "react-native-gesture-handler": "^1.3.0",
+    "react-navigation": "^3.11.0",
     "react-redux": "^7.1.0",
     "redux": "^4.0.4",
-    "redux-thunk": "^2.3.0",
-    "whatwg-fetch": "^3.0.0"
+    "redux-thunk": "^2.3.0"
   },
   "devDependencies": {
-    "@babel/core": "^7.5.5",
-    "@babel/runtime": "^7.5.5",
+    "@babel/core": "^7.4.5",
+    "@babel/runtime": "^7.4.5",
     "babel-jest": "^24.8.0",
     "jest": "^24.8.0",
-    "metro-react-native-babel-preset": "^0.55.0",
+    "metro-react-native-babel-preset": "^0.54.1",
     "react-test-renderer": "16.8.3",
     "redux-logger": "^3.0.6"
   },