We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docs/README.md
1 parent 3f19f5b commit c86dde9Copy full SHA for c86dde9
docs/README.md
@@ -255,14 +255,14 @@ There's no right or wrong way to disable husky in CI/Docker context and is highl
255
If you want to prevent husky from installing completely
256
257
```shell
258
-npm ci --only=production --ignore-scripts
+npm ci --omit=dev --ignore-scripts
259
```
260
261
Alternatively, you can specifically disable `prepare` script with
262
263
264
npm set-script prepare ""
265
-npm ci --only-production
+npm ci --omit=dev
266
267
268
### With a custom script
0 commit comments