Update package.json in example to npm package

This commit is contained in:
Aakash N S 2015-11-02 01:08:56 +05:30
parent 431fa3acf7
commit 4b8573d5aa
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
rootProject.name = 'ExampleApp' rootProject.name = 'ExampleApp'
include ':react-native-dialogs', ':RNMaterialKit', ':app' 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') project(':RNMaterialKit').projectDir = file('../node_modules/react-native-material-kit/android')

View File

@ -7,7 +7,7 @@
}, },
"dependencies": { "dependencies": {
"react-native": "^0.13.2", "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" "react-native-material-kit": "^0.2.2"
} }
} }