aboutsummaryrefslogtreecommitdiff
path: root/tools/package.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-29 10:39:43 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-29 10:39:43 -0700
commit5eb515b35eb3b7328f15985620b3f919bef5e1cf (patch)
tree10aa676b6d429ea9906e09242e415c2f017bd726 /tools/package.sh
parent520860fbeef74b4527256c5f9641258bdd53e18f (diff)
downloadtrackermap-web-5eb515b35eb3b7328f15985620b3f919bef5e1cf.tar.gz
trackermap-web-5eb515b35eb3b7328f15985620b3f919bef5e1cf.tar.bz2
trackermap-web-5eb515b35eb3b7328f15985620b3f919bef5e1cf.zip
Check in lock files
Diffstat (limited to 'tools/package.sh')
-rwxr-xr-xtools/package.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/package.sh b/tools/package.sh
index aafd11a5..3b768de0 100755
--- a/tools/package.sh
+++ b/tools/package.sh
@@ -1,16 +1,15 @@
#!/usr/bin/env bash
cd $(dirname $0)
-
cd ..
rm -rf web/lib
-npm install --unsafe-perm
+npm ci --unsafe-perm
npm run build
cd modern
rm -rf ../web/modern
-npm install
+npm ci
npm run build_release
mv build ../web/modern