Browse Source

tweak --list/--outdated for npm to cleanup output

Kyle Davis 7 years ago
parent
commit
368be60372
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gimme

+ 2 - 2
gimme

@@ -152,7 +152,7 @@ else # normal usage
 				brew list
 				echo
 				echo "# NPM:"
-				npm -g ls --depth 0 --parseable | sed -e'1d' -e's:^.*node_modules/::'
+				npm -g ls --depth 0
 				echo
 				echo "# PIP:"
 				pip list --format=columns
@@ -166,7 +166,7 @@ else # normal usage
 				brew outdated
 				echo
 				echo "# NPM:"
-				npm outdated $(npm -g ls --depth 0 --parseable | sed -e'1d' -e's:^.*node_modules/::')
+				npm outdated -g --depth 0
 				echo
 				echo "# PIP:"
 				pip list --format=columns --outdated