1 | # Contributing to `prettier-package-json`
|
2 |
|
3 | To get up and running, install the dependencies and run the tests:
|
4 |
|
5 | ```sh
|
6 | yarn
|
7 | yarn test
|
8 | ```
|
9 |
|
10 | Here's what you need to know about the tests:
|
11 |
|
12 | * The tests uses [Jest](https://facebook.github.io/jest/) snapshots.
|
13 | * You can make changes and run `jest -u` (or `yarn test -- -u`) to update the
|
14 | snapshots. Then run `git diff` to take a look at what changed. Always update
|
15 | the snapshots when opening a PR.
|
16 |
|
17 | Run `yarn format` to automatically format files.
|