From 7c36e31c5deeb6025e7baefecd6a66d2f383393a Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Tue, 14 Sep 2021 01:01:50 +0000 Subject: [PATCH] fix: update npm parameters on `docs/README.md` (#1037) --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 7bc2d5599..62f1bc4c8 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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