aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-03-25 14:36:56 +0300
committerGravatar Vitaly Takmazov2021-03-25 14:36:56 +0300
commit19d719526f6ea4a687e2ca81c2f82df9e0ae7dec (patch)
treea0a0a2bf2554b442977c724e406ee084d199dcd2
parent29636c7526df189caf501e9cd23efebe728d3a33 (diff)
Fix npm ci in production mode
-rw-r--r--build.gradle4
1 files 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'
}
}