2023-02-13 02:16:46 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-02-18 16:03:09 +01:00
|
|
|
PACKAGES="gulp-cli gulper gulp mocha"
|
2023-02-13 02:16:46 +01:00
|
|
|
|
|
|
|
if [[ $APP_DEBUG == 'true' ]]; then
|
|
|
|
npm i
|
|
|
|
else
|
|
|
|
npm i --prod
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo -e "Installing \033[32m$PACKAGES\033[0m"
|
|
|
|
if [[ APP_DEBUG == 'true' ]]; then
|
|
|
|
npm i -g $PACKAGES
|
|
|
|
else
|
|
|
|
npm i -g --prod $PACKAGES
|
|
|
|
fi
|
|
|
|
echo "All done."
|