Browse Source

convert to new react native config format

Travis Nuttall 4 years ago
parent
commit
f13692ae23
2 changed files with 7 additions and 5 deletions
  1. 0
    5
      package.json
  2. 7
    0
      react-native.config.js

+ 0
- 5
package.json View File

@@ -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 View File

@@ -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
+};