1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-25 11:28:32 +01:00
dotfiles/bin/npm-upgrade.sh

10 lines
134 B
Bash
Executable File

#!/bin/sh
set -e
set -x
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
do
npm -g install "$package"
done