Skip to content

Commit

Permalink
update install instructions (#144)
Browse files Browse the repository at this point in the history
* update readme

* update package.json version
  • Loading branch information
yannbf committed Apr 17, 2024
1 parent 4e94e82 commit 7557c31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -15,8 +15,16 @@

### Install MSW and the addon

With npm:

```sh
npm i msw msw-storybook-addon -D
```

Or with yarn:

```sh
npx storybook@latest add msw-storybook-addon
yarn add msw msw-storybook-addon -D
```

### Generate service worker for MSW in your public folder.
Expand Down
2 changes: 1 addition & 1 deletion packages/msw-addon/package.json
@@ -1,6 +1,6 @@
{
"name": "msw-storybook-addon",
"version": "2.0.0-beta.2",
"version": "2.0.0",
"description": "Mock API requests in Storybook with Mock Service Worker.",
"keywords": [
"storybook-addon",
Expand Down

0 comments on commit 7557c31

Please sign in to comment.