#! env bash set -e node ./config/services.js | \ while read service do pushd $service echo "Installing service $service" case $service in web) # install webpack and friends from dev-dependencies. npm ci ;; *) npm ci --only=production ;; esac popd done