This commit is contained in:
AJ ONeal 2017-05-16 15:17:28 -06:00
parent 1a41b29bfb
commit 49d19e6cdb
1 changed files with 8 additions and 2 deletions

View File

@ -282,10 +282,16 @@ if [ -n "${NODEJS_VER}" ]; then
bash "/tmp/${INSTALL_FILE}" "${NODEJS_VER}"
fi
# yarn
if [ -z "$(type -p yarn)" ]; then
echo "installing yarn..."
npm install --silent yarn -g > /dev/null
fi
# jshint
if [ -z "$(which jshint | grep jshint)" ]; then
if [ -z "$(type -p jshint)" ]; then
echo "installing jshint..."
npm install --silent jshint -g > /dev/null
yarn install --silent jshint -g > /dev/null
fi
echo ""