From 19d719526f6ea4a687e2ca81c2f82df9e0ae7dec Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 25 Mar 2021 14:36:56 +0300 Subject: Fix npm ci in production mode --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 95ee5920..3f3a9094 100644 --- a/build.gradle +++ b/build.gradle @@ -34,9 +34,9 @@ task npmInstall(type: Exec) { inputs.file('package-lock.json') outputs.file('package-lock.json') if (DefaultNativePlatform.getCurrentOperatingSystem().isWindows()) { - commandLine 'cmd', '/c', 'npm', 'ci' + commandLine 'cmd', '/c', 'npm', 'ci', '--also', 'dev' } else { - commandLine 'npm', 'ci' + commandLine 'npm', 'ci', '--also', 'dev' } } -- cgit v1.2.3