Skip to content

Commit 58e9a01

Browse files
committed
Update example - create-react-native app
1 parent cbd564e commit 58e9a01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+7271
-6902
lines changed

.eslintrc

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"react",
66
"flowtype",
77
"jsx-a11y",
8-
"import"
8+
"import",
9+
"babel"
910
],
1011
"rules": {
1112
// Best Practices
@@ -42,7 +43,7 @@
4243
"no-floating-decimal": 2,
4344
"no-implicit-coercion": 2,
4445
"no-implied-eval": 2,
45-
"no-invalid-this": 2,
46+
"no-invalid-this": 0,
4647
"no-iterator": 2,
4748
"no-labels": 2,
4849
"no-lone-blocks": 2,

Example/.babelrc

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
{
2-
"presets": ["react-native"]
3-
}
2+
"presets": [
3+
"babel-preset-expo"
4+
],
5+
"env": {
6+
"development": {
7+
"plugins": [
8+
"transform-react-jsx-source"
9+
]
10+
}
11+
}
12+
}

Example/.buckconfig

-6
This file was deleted.

Example/.flowconfig

-47
This file was deleted.

Example/.gitattributes

-1
This file was deleted.

Example/.gitignore

+3-43
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,3 @@
1-
# OSX
2-
#
3-
.DS_Store
4-
5-
# Xcode
6-
#
7-
build/
8-
*.pbxuser
9-
!default.pbxuser
10-
*.mode1v3
11-
!default.mode1v3
12-
*.mode2v3
13-
!default.mode2v3
14-
*.perspectivev3
15-
!default.perspectivev3
16-
xcuserdata
17-
*.xccheckout
18-
*.moved-aside
19-
DerivedData
20-
*.hmap
21-
*.ipa
22-
*.xcuserstate
23-
project.xcworkspace
24-
25-
# Android/IntelliJ
26-
#
27-
build/
28-
.idea
29-
.gradle
30-
local.properties
31-
*.iml
32-
33-
# node.js
34-
#
35-
*node_modules/*
36-
npm-debug.log
37-
yarn-error.log
38-
39-
# BUCK
40-
buck-out/
41-
\.buckd/
42-
*.keystore
43-
1+
node_modules/**/*
2+
.expo/*
3+
npm-debug.*

Example/.watchmanconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

Example/ExampleMain.js

-145
This file was deleted.

Example/__tests__/index.android.js

-12
This file was deleted.

Example/__tests__/index.ios.js

-12
This file was deleted.

Example/android/app/BUCK

-65
This file was deleted.

0 commit comments

Comments
 (0)