We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
typicode
Learn more about funding links in repositories.
Report abuse
1 parent 94d0393 commit 46325f8Copy full SHA for 46325f8
docs/guide.md
@@ -68,17 +68,17 @@ There's no right or wrong way to disable husky in CI/Docker/Prod context and is
68
69
### With npm
70
71
-If you want to prevent husky from installing completely
+If you want to prevent husky from installing completely, you can specifically disable `prepare` script with:
72
73
```shell
74
-npm ci --omit=dev --ignore-scripts
+npm pkg delete scripts.prepare
75
+npm ci --omit=dev
76
```
77
-Alternatively, you can specifically disable `prepare` script with
78
+Alternatively, you can ignore scripts during installation. Be cautious, this argument ignores dependencies scripts as well.
79
80
-npm pkg delete scripts.prepare
81
-npm ci --omit=dev
+npm ci --omit=dev --ignore-scripts
82
83
84
### With a custom script
0 commit comments