Skip to content

Commit

Permalink
docs: add note about dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
strdr4605 committed Mar 26, 2022
1 parent a9a6fd0 commit 9af20be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ This is why `npx why` exists!
npx why --init # will create a package-why.json file where you can write docs for your scripts
npx why test # will display docs for 'npm run test' command
```

For better experience install the package as devDependencies:

```bash
npm install why --save-dev
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "why",
"version": "0.5.0",
"version": "0.5.1",
"description": "A tool to document your package.json scripts",
"main": "src/index.js",
"bin": "src/index.js",
Expand Down

0 comments on commit 9af20be

Please sign in to comment.