UNPKG

858 BJavaScriptView Raw
1/**
2 * Copyright (c) Meta Platforms, Inc. and 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
10'use strict';
11
12const ios = require('@react-native-community/cli-platform-ios');
13const android = require('@react-native-community/cli-platform-android');
14const {
15 bundleCommand,
16 ramBundleCommand,
17 startCommand,
18} = require('@react-native/community-cli-plugin');
19
20module.exports = {
21 commands: [
22 ...ios.commands,
23 ...android.commands,
24 bundleCommand,
25 ramBundleCommand,
26 startCommand,
27 ],
28 platforms: {
29 ios: {
30 projectConfig: ios.projectConfig,
31 dependencyConfig: ios.dependencyConfig,
32 },
33 android: {
34 projectConfig: android.projectConfig,
35 dependencyConfig: android.dependencyConfig,
36 },
37 },
38};