Merge together the index files for easier testing
This commit is contained in:
parent
48126b36ac
commit
623a994ad0
|
@ -1,5 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
// bridge to the buildConfigField vars set in build.gradle, and exported via ReactConfig
|
||||
var React = require('react-native');
|
||||
module.exports = React.NativeModules.ReactNativeConfig;
|
|
@ -1,5 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
// bridge to the config vars set in xcconfig and exposed via ReactNativeConfig.m
|
||||
var React = require('react-native');
|
||||
module.exports = React.NativeModules.ReactNativeConfig;
|
|
@ -0,0 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Bridge to:
|
||||
// Android: buildConfigField vars set in build.gradle, and exported via ReactConfig
|
||||
// iOS: config vars set in xcconfig and exposed via ReactNativeConfig.m
|
||||
var React = require('react-native');
|
||||
module.exports = React.NativeModules.ReactNativeConfig;
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "react-native-config",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "Expose config variables to React Native apps",
|
||||
"keywords": ["env", "config", "config-var", "react-native", "android", "ios", "12factor"],
|
||||
"homepage": "https://github.com/luggg/react-native-config",
|
||||
|
@ -8,8 +8,7 @@
|
|||
"files": [
|
||||
"android/",
|
||||
"ios/",
|
||||
"index.android.js",
|
||||
"index.ios.js"
|
||||
"index.js"
|
||||
],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue