UNPKG

986 BJavaScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 * @format
8 */
9'use strict';
10
11const ios = require('@react-native-community/cli-platform-ios');
12const android = require('@react-native-community/cli-platform-android');
13
14module.exports = {
15 commands: [...ios.commands, ...android.commands],
16 platforms: {
17 ios: {
18 linkConfig: ios.linkConfig,
19 projectConfig: ios.projectConfig,
20 dependencyConfig: ios.dependencyConfig,
21 },
22 android: {
23 linkConfig: android.linkConfig,
24 projectConfig: android.projectConfig,
25 dependencyConfig: android.dependencyConfig,
26 },
27 },
28 /**
29 * Used when running RNTester (with React Native from source)
30 */
31 reactNativePath: '.',
32 project: {
33 ios: {
34 project: './RNTester/RNTesterPods.xcworkspace',
35 },
36 android: {
37 sourceDir: './RNTester',
38 },
39 },
40};