install scripts dependencies in install script

This commit is contained in:
b1ek 2023-02-23 16:55:19 +10:00
parent 16a410d71c
commit 03f71c7951
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 8 additions and 0 deletions

View File

@ -4,8 +4,16 @@ PACKAGES="gulp-cli gulper gulp mocha sequelize-cli"
if [[ $APP_DEBUG == 'true' ]]; then
npm i
cd scripts
npm i
cd ..
else
npm i --prod
cd scripts
npm i --prod
cd ..
fi
echo -e "Installing \033[32m$PACKAGES\033[0m"