FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
babel/scripts/integration-tests/e2e-react-native.sh at main · javascriptit/babel · GitHub
javascriptit
babel
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
babel
/
scripts
/
integration-tests
/
e2e-react-native.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
39 lines (28 loc) · 1.2 KB
Breadcrumbs
babel
/
scripts
/
integration-tests
/
e2e-react-native.sh
Copy path
File metadata and controls
executable file
·
39 lines (28 loc) · 1.2 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#!
/bin/bash
#
==============================================================================#
#
SETUP #
#
==============================================================================#
#
Start in scripts/integration-tests/ even if run from root directory
cd
"
$(
dirname
"
$0
"
)
"
||
exit
root=
"
$PWD
"
source
utils/local-registry.sh
source
utils/cleanup.sh
#
Echo every command being executed
set
-x
#
==============================================================================#
#
ENVIRONMENT #
#
==============================================================================#
node -v
npm --version
yarn --version
#
==============================================================================#
#
TEST #
#
==============================================================================#
startLocalRegistry
"
$root
"
/verdaccio-config.yml
#
Create a React Native project
cd
/tmp
npx react-native init rnbabel
cd
rnbabel
#
Build the project
npx react-native bundle --entry-file index.js --bundle-output output.js
cleanup
Back
|
FazBrowse Home
|
New Git URL