Skip to content

Commit

Permalink
fix: update npm parameters on docs/README.md (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 authored Sep 14, 2021
1 parent 3f19f5b commit c86dde9
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 c86dde9

Please sign in to comment.