mirror of
https://github.com/status-im/react-native.git
synced 2025-02-25 23:55:23 +00:00
Update react-native-cli/CONTRIBUTING.md
This commit is contained in:
parent
57adecc36e
commit
dd9bbb4bca
@ -45,6 +45,8 @@ Now you can run sinopia by simply doing:
|
||||
Now we need to publish the two React Native packages to our local registry. To do this, we configure npm to use the new registry, unpublish any existing packages and then publish the new ones:
|
||||
|
||||
react-native$ npm set registry http://localhost:4873/
|
||||
# Check that it worked:
|
||||
react-native$ npm config list
|
||||
react-native$ npm unpublish --force
|
||||
react-native$ npm publish
|
||||
react-native$ cd react-native-cli/
|
||||
@ -74,4 +76,12 @@ These tests actually create a very similar setup to what is described above (usi
|
||||
Both of these types of tests also run on Travis both continuously and on pull requests.
|
||||
|
||||
[sinopia]: https://www.npmjs.com/package/sinopia
|
||||
[xctool]: https://github.com/facebook/xctool
|
||||
[xctool]: https://github.com/facebook/xctool
|
||||
|
||||
## Clean up
|
||||
|
||||
To unset the npm registry, do:
|
||||
|
||||
$ npm config delete registry
|
||||
# Check that it worked:
|
||||
$ npm config list
|
||||
|
Loading…
x
Reference in New Issue
Block a user