Skip to content

Commit

Permalink
fix: update npm parameters on docs/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 committed Sep 7, 2021
1 parent e134db1 commit 3b29a96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,14 @@ There's no right or wrong way to disable husky in CI/Docker context and is highl
If you want to prevent husky from installing completely

```shell
npm ci --only=production --ignore-scripts
npm ci --omit=dev --ignore-scripts
```

Alternatively, you can specifically disable `prepare` script with

```shell
npm set-script prepare ""
npm ci --only-production
npm ci --omit=dev
```

### With a custom script
Expand Down

0 comments on commit 3b29a96

Please sign in to comment.