Przeglądaj źródła

convert to new react native config format

Travis Nuttall 4 lat temu
rodzic
commit
f13692ae23
2 zmienionych plików z 7 dodań i 5 usunięć
  1. 0
    5
      package.json
  2. 7
    0
      react-native.config.js

+ 0
- 5
package.json Wyświetl plik

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 Wyświetl plik

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