UNPKG

495 BMarkdownView Raw
1# Contributing to `prettier-package-json`
2
3To get up and running, install the dependencies and run the tests:
4
5```sh
6yarn
7yarn test
8```
9
10Here'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
17Run `yarn format` to automatically format files.