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 2, 2022
1 parent e8336c9 commit e4d5d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
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 e4d5d62

Please sign in to comment.