diff --git a/setup.bash b/setup.bash index 36cf0e8..9ae6dcb 100644 --- a/setup.bash +++ b/setup.bash @@ -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 ""