Compare commits

..
13 Commits
6 changed files with 562 additions and 373 deletions

No files matched your search

+13 -10
View File
@@ -1,14 +1,17 @@
language: node_js
node_js:
- "node"
cache:
directories:
- "node_modules"
deploy:
on:
branch: master
tags: true
provider: npm
email: "emin@emin.ch"
api_key: "${NPM_TOKEN}"
skip_cleanup: true
- provider: npm
on:
condition: $TRAVIS_BRANCH == "master" && -n $TRAVIS_TAG
email: "emin@emin.ch"
api_key: "${NPM_TOKEN}"
skip_cleanup: true
- provider: npm
on:
condition: $TRAVIS_BRANCH == "master-cli-v2" && -n $TRAVIS_TAG
email: "emin@emin.ch"
api_key: "${NPM_TOKEN}"
skip_cleanup: true
tag: next
+19 -2
View File
@@ -1,7 +1,7 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
*
* Generated with the TypeScript template
* https://github.com/emin93/react-native-template-typescript
*
@@ -35,6 +35,11 @@ const App = () => {
contentInsetAdjustmentBehavior="automatic"
style={styles.scrollView}>
<Header />
{global.HermesInternal == null ? null : (
<View style={styles.engine}>
<Text style={styles.footer}>Engine: Hermes</Text>
</View>
)}
<View style={styles.body}>
<View style={styles.sectionContainer}>
<Text style={styles.sectionTitle}>Step One</Text>
@@ -73,6 +78,10 @@ const styles = StyleSheet.create({
scrollView: {
backgroundColor: Colors.lighter,
},
engine: {
position: 'absolute',
right: 0,
},
body: {
backgroundColor: Colors.white,
},
@@ -94,6 +103,14 @@ const styles = StyleSheet.create({
highlight: {
fontWeight: '700',
},
footer: {
color: Colors.dark,
fontSize: 12,
fontWeight: '600',
padding: 4,
paddingRight: 12,
textAlign: 'right',
},
});
export default App;
export default App;
+2
View File
@@ -4,6 +4,8 @@ Contributing to this project should be as easy and transparent as possible.
## Workflow
Right now there are two master branches in order to keep support for the old React Native CLI (for more info, check out the [related issue](https://github.com/react-native-community/react-native-template-typescript/issues/39)).
We use [GitHub Flow](https://guides.github.com/introduction/flow/), so all code changes happen through pull requests.
1. Fork the repository and create your branch from `master`.
+3
View File
@@ -58,3 +58,6 @@ buck-out/
# Bundle artifact
*.jsbundle
# CocoaPods
/ios/Pods/
+524 -360
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -25,6 +25,6 @@
},
"homepage": "https://github.com/emin93/react-native-template-typescript#readme",
"devDependencies": {
"standard": "12.0.1"
"standard": "13.0.2"
}
}