Skip to content

Commit c86dde9

Browse files
authored
fix: update npm parameters on docs/README.md (#1037)
1 parent 3f19f5b commit c86dde9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,14 @@ There's no right or wrong way to disable husky in CI/Docker context and is highl
255255
If you want to prevent husky from installing completely
256256

257257
```shell
258-
npm ci --only=production --ignore-scripts
258+
npm ci --omit=dev --ignore-scripts
259259
```
260260

261261
Alternatively, you can specifically disable `prepare` script with
262262

263263
```shell
264264
npm set-script prepare ""
265-
npm ci --only-production
265+
npm ci --omit=dev
266266
```
267267

268268
### With a custom script

0 commit comments

Comments
 (0)