Skip to content

Commit 4abde00

Browse files
authored
Merge pull request #46 from react-native-community/new-init-command-doc
added new init command doc
2 parents 307b733 + 8484884 commit 4abde00

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ node_js:
44
deploy:
55
- provider: npm
66
on:
7-
branch: master
8-
tags: true
7+
condition: $TRAVIS_BRANCH == "master" && -n $TRAVIS_TAG
98
109
api_key: "${NPM_TOKEN}"
1110
skip_cleanup: true
1211
- provider: npm
1312
on:
14-
branch: master-cli-v2
15-
tags: true
13+
condition: $TRAVIS_BRANCH == "master-cli-v2" && -n $TRAVIS_TAG
1614
1715
api_key: "${NPM_TOKEN}"
1816
skip_cleanup: true
19-
tag: next
17+
tag: next

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
### React Native >= 0.60
2929

3030
```sh
31-
npx react-native init MyApp --template=typescript@next
31+
npx react-native init MyApp --template react-native-template-typescript@next
3232
```
3333

3434
### React Native <= 0.59

0 commit comments

Comments
 (0)