diff --git a/react-native.config.js b/react-native.config.js index 9e3e074..ff827b9 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -1,5 +1,10 @@ module.exports = { - commands: { - prelink: "node ./node_modules/react-native-spinkit/scripts/rnpm-prelink.js", - }, + commands: [ + { + name: 'prelink', + func: () => { + exec("node ./node_modules/react-native-spinkit/scripts/rnpm-prelink.js"); + }, + }, + ], };