From 3351b81b7b8d69ccba4bc1e623e20b6fb816ad7d Mon Sep 17 00:00:00 2001 From: Conor Cussell Date: Fri, 14 Feb 2020 17:00:17 +0000 Subject: [PATCH] fix(configuration): Remove deprecated rnpm config from package.json in favour of react-native.config file as per the instructions here: https://github.com/react-native-community/cli/blob/master/docs/configuration.md\#migration-guide --- package.json | 3 --- react-native.config.js | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 react-native.config.js diff --git a/package.json b/package.json index 59f764d..d6aca02 100644 --- a/package.json +++ b/package.json @@ -68,8 +68,5 @@ "plugins": [ "transform-runtime" ] - }, - "rnpm": { - "plugin": "./build/index.js" } } diff --git a/react-native.config.js b/react-native.config.js new file mode 100644 index 0000000..d25a0bb --- /dev/null +++ b/react-native.config.js @@ -0,0 +1,3 @@ +module.exports = { + commands: require('./build/index.js') +}