docs: update scripts in contributing.md (#594)
* docs: update contributing.md scripts * docs: update more occurrences of old scripts
This commit is contained in:
parent
0311eb6cf8
commit
78bc0de662
@ -17,19 +17,19 @@ While developing, you can run the [example app](/example/) to test your changes.
|
||||
To start the packager:
|
||||
|
||||
```sh
|
||||
yarn example start
|
||||
yarn start
|
||||
```
|
||||
|
||||
To run the example app on Android:
|
||||
|
||||
```sh
|
||||
yarn example android
|
||||
yarn android
|
||||
```
|
||||
|
||||
To run the example app on iOS:
|
||||
|
||||
```sh
|
||||
yarn example ios
|
||||
yarn ios
|
||||
```
|
||||
|
||||
Make sure your code passes TypeScript and ESLint. Run the following to verify:
|
||||
@ -94,9 +94,9 @@ The `package.json` file contains various scripts for common tasks:
|
||||
- `yarn typescript`: type-check files with TypeScript.
|
||||
- `yarn lint`: lint files with ESLint.
|
||||
- `yarn test`: run unit tests with Jest.
|
||||
- `yarn example start`: start the Metro server for the example app.
|
||||
- `yarn example android`: run the example app on Android.
|
||||
- `yarn example ios`: run the example app on iOS.
|
||||
- `yarn start`: start the Metro server for the example app.
|
||||
- `yarn android`: run the example app on Android.
|
||||
- `yarn ios`: run the example app on iOS.
|
||||
|
||||
### Sending a pull request
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user