Skip to content

Commit 46ebc5c

Browse files
committed
Update publishing instructions.
1 parent 6975f58 commit 46ebc5c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
4949
The page will reload if you make edits.\
5050
You will also see any lint errors in the console.
5151

52-
### `yarn test`
52+
## Publishing
5353

54-
Launches the test runner in the interactive watch mode.\
55-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
56-
57-
### `yarn publish:npm`
58-
59-
Builds the project in the `/dist` directory. Publish to npm with `npm publish`.
54+
1. Bump version with `npm version [major|minor|patch]`
55+
2. Run `yarn publish:npm`. This will build the project in the `/dst` directory.
56+
3. Navigate to `/dst` directory.
57+
4. Publish to npm with `npm publish`

0 commit comments

Comments
 (0)