Skip to content

Commit 6a0cb64

Browse files
committed
Move to example level
1 parent 8ecd732 commit 6a0cb64

Some content is hidden

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

58 files changed

+11
-10
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

example/babel.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ['module:metro-react-native-babel-preset']
3+
};

example/exampleApp/babel.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

example/exampleApp/index.js renamed to example/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* @format
33
*/
44

5-
import {AppRegistry} from 'react-native';
5+
import { AppRegistry } from 'react-native';
66
import App from './App';
7-
import {name as appName} from './app.json';
7+
import { name as appName } from './app.json';
88

99
AppRegistry.registerComponent(appName, () => App);
File renamed without changes.
File renamed without changes.

example/exampleApp/metro.config.js renamed to example/metro.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module.exports = {
1010
getTransformOptions: async () => ({
1111
transform: {
1212
experimentalImportSupport: false,
13-
inlineRequires: true,
14-
},
15-
}),
16-
},
13+
inlineRequires: true
14+
}
15+
})
16+
}
1717
};

example/exampleApp/package.json renamed to example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"ios": "react-native run-ios",
88
"start": "react-native start",
99
"test": "jest",
10-
"lint": "eslint ."
10+
"lint": "eslint .",
11+
"pod": "(rm -rf ios/Pods && cd ios/ && pod install --repo-update)"
1112
},
1213
"dependencies": {
1314
"@shipt/react-native-segmented-arc": "^0.2.0",
File renamed without changes.

0 commit comments

Comments
 (0)