diff options
author | Vitaly Takmazov | 2021-03-25 14:36:56 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-03-25 14:36:56 +0300 |
commit | 19d719526f6ea4a687e2ca81c2f82df9e0ae7dec (patch) | |
tree | a0a0a2bf2554b442977c724e406ee084d199dcd2 /build.gradle | |
parent | 29636c7526df189caf501e9cd23efebe728d3a33 (diff) |
Fix npm ci in production mode
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 4 |
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' } } |