From 4b8573d5aaee05ede9a5e6d0da49d03b113e490d Mon Sep 17 00:00:00 2001 From: Aakash N S Date: Mon, 2 Nov 2015 01:08:56 +0530 Subject: [PATCH] Update package.json in example to npm package --- examples/ExampleApp/android/settings.gradle | 2 +- examples/ExampleApp/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ExampleApp/android/settings.gradle b/examples/ExampleApp/android/settings.gradle index d07eb54..6cc73a9 100644 --- a/examples/ExampleApp/android/settings.gradle +++ b/examples/ExampleApp/android/settings.gradle @@ -1,5 +1,5 @@ rootProject.name = 'ExampleApp' include ':react-native-dialogs', ':RNMaterialKit', ':app' -project(':react-native-dialogs').projectDir = new File(rootProject.projectDir, '../../../android') +project(':react-native-dialogs').projectDir = new file('../node_modules/react-native-dialogs/android') project(':RNMaterialKit').projectDir = file('../node_modules/react-native-material-kit/android') diff --git a/examples/ExampleApp/package.json b/examples/ExampleApp/package.json index 7934528..5ca4f9d 100644 --- a/examples/ExampleApp/package.json +++ b/examples/ExampleApp/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "react-native": "^0.13.2", - "react-native-dialogs": "file:///Users/aakashns/workspace/opensource/react-native-dialogs", + "react-native-dialogs": "0.0.1", "react-native-material-kit": "^0.2.2" } }