Pārlūkot izejas kodu

convert to new react native config format

Travis Nuttall 5 gadus atpakaļ
vecāks
revīzija
f13692ae23
2 mainītis faili ar 7 papildinājumiem un 5 dzēšanām
  1. 0
    5
      package.json
  2. 7
    0
      react-native.config.js

+ 0
- 5
package.json Parādīt failu

@@ -21,11 +21,6 @@
21 21
     "filestream",
22 22
     "image header"
23 23
   ],
24
-  "rnpm": {
25
-    "commands": {
26
-      "prelink": "node ./node_modules/rn-fetch-blob/scripts/prelink.js"
27
-    }
28
-  },
29 24
   "repository": {
30 25
     "url": "https://github.com/joltup/rn-fetch-blob.git"
31 26
   },

+ 7
- 0
react-native.config.js Parādīt failu

@@ -0,0 +1,7 @@
1
+module.exports = {
2
+  dependency: {
3
+    hooks: {
4
+      prelink: 'node ./node_modules/rn-fetch-blob/scripts/prelink.js',
5
+    },
6
+  },
7
+};