Skip to content

Commit 9af20be

Browse files
committed
docs: add note about dev dependency
1 parent a9a6fd0 commit 9af20be

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ This is why `npx why` exists!
1919
npx why --init # will create a package-why.json file where you can write docs for your scripts
2020
npx why test # will display docs for 'npm run test' command
2121
```
22+
23+
For better experience install the package as devDependencies:
24+
25+
```bash
26+
npm install why --save-dev
27+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "why",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "A tool to document your package.json scripts",
55
"main": "src/index.js",
66
"bin": "src/index.js",

0 commit comments

Comments
 (0)