From f75e1f50c3573ca0a9ab04418b38fccca20774a6 Mon Sep 17 00:00:00 2001 From: shimataro Date: Sun, 1 Mar 2020 08:32:20 +0900 Subject: [PATCH] Feature/scripts (#123) * * just "npm ci" on rebuild * * do not add "package-lock.json" --- scripts/rebuild.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh index b2c853a..35f42db 100755 --- a/scripts/rebuild.sh +++ b/scripts/rebuild.sh @@ -2,11 +2,10 @@ set -e -rm -rf node_modules package-lock.json -npm i +npm ci npm run build npm run verify rm -rf node_modules npm ci --only=production -git add node_modules package-lock.json lib +git add node_modules lib