From b1fa2e89ce04f3c66de446f2856d229aee8f2632 Mon Sep 17 00:00:00 2001 From: Ed Crampin Date: Wed, 24 Jul 2019 16:04:03 +0100 Subject: [PATCH] Fix for react-native.config.js react-native.config.js had the commands array as an object. This has been resolved. Fixes issue #124 --- react-native.config.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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"); + }, + }, + ], };