Skip to content

Commit

Permalink
fix: update npm parameters on docs/README.md (typicode#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 authored and nikoladavitkovski committed Sep 5, 2022
1 parent 26b6bf4 commit 7c36e31
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 @@ -255,14 +255,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 7c36e31

Please sign in to comment.