Browse Source

convert to new react native config format

Travis Nuttall 5 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
     "filestream",
21
     "filestream",
22
     "image header"
22
     "image header"
23
   ],
23
   ],
24
-  "rnpm": {
25
-    "commands": {
26
-      "prelink": "node ./node_modules/rn-fetch-blob/scripts/prelink.js"
27
-    }
28
-  },
29
   "repository": {
24
   "repository": {
30
     "url": "https://github.com/joltup/rn-fetch-blob.git"
25
     "url": "https://github.com/joltup/rn-fetch-blob.git"
31
   },
26
   },

+ 7
- 0
react-native.config.js View File

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