-
Notifications
You must be signed in to change notification settings - Fork 11
/
step.yml
76 lines (74 loc) · 2.37 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
title: React Native bundle
summary: Bundles your React Native app.
description: Bundles your React Native app.
website: https://github.com/bitrise-steplib/steps-react-native-bundle
source_code_url: https://github.com/bitrise-steplib/steps-react-native-bundle
support_url: https://github.com/bitrise-steplib/steps-react-native-bundle/issues
host_os_tags:
- osx-10.10
project_type_tags:
- react-native
- android
- ios
type_tags:
- build
deps:
brew:
- name: node
inputs:
- binary_path:
opts:
title: Custom React Native binary location
summary: Location of a custom React Native binary to use
description: |-
Location of a custom `react-native` binary, either absolute or relative. The path should not contain the `react-native` part itself.
Useful when configuring distinct package managers, installing globally,
or in a relative path like `./node_modules/.bin`
- platform: "ios"
opts:
title: Bundle platform
description: Specify either `ios`, or `android` as platform for the bundler.
is_required: true
value_options:
- "ios"
- "android"
- entry_file: "index.${platform}.js"
opts:
title: Entry file
description: Path to the root JS file, either absolute or relative to JS root.
is_required: true
- out: "${platform}/main.jsbundle"
opts:
title: Bundle output
description: |-
File name where to store the resulting bundle, ex. /tmp/groups.bundle.
- dev: "true"
opts:
title: DEV flag
description: If false, warnings are disabled and the bundle is minified.
value_options:
- "true"
- "false"
- assetRoots:
opts:
title: Assets Destination
description: |-
Directory name where to store assets referenced in the bundle.
- options:
opts:
title: Additional options for running `react-native bundle`
description: |-
Options are added to `react-native bundle`. You can use multiple options, separated
by a space character.
- url:
opts:
title: "[DEPRECATED] Bundle file URL"
description: |-
__DEPRECATED__, removed from react-native tool.
Specify the bundle file URL.
- root:
opts:
title: "[DEPRECATED] Root"
description: |-
__DEPRECATED__, removed from react-native tool.
Add another root(s) to be used in bundling in this project.