Daniel Zlotin 8 年 前
コミット
9c88d0509e
共有2 個のファイルを変更した5 個の追加4 個の削除を含む
  1. 4
    0
      example-redux/android/app/build.gradle
  2. 1
    4
      example-redux/package.json

+ 4
- 0
example-redux/android/app/build.gradle ファイルの表示

@@ -134,3 +134,7 @@ task copyDownloadableDepsToLibs(type: Copy) {
134 134
   from configurations.compile
135 135
   into 'libs'
136 136
 }
137
+
138
+task runDebug(dependsOn: ['assembleDebug', 'installDebug']) << {
139
+    println 'FINISHED'
140
+}

+ 1
- 4
example-redux/package.json ファイルの表示

@@ -3,10 +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",
7
-    "fix_npm2": "npm run _fix_npm2_step1; npm run _fix_npm2_step2",
8
-    "_fix_npm2_step1": "rm -rf node_modules/react-native/node_modules/react; rm -rf node_modules/react-native/node_modules/fbjs; rm -rf node_modules/react/node_modules/fbjs",
9
-    "_fix_npm2_step2": "cd node_modules; find . -name .babelrc | grep -v packager | xargs rm"
6
+    "start": "watchman watch-del-all && node node_modules/react-native/local-cli/cli.js start --reset-cache"
10 7
   },
11 8
   "dependencies": {
12 9
     "react-native": "0.25.1",