dev/js: add npm update script

This commit is contained in:
Henrik Lissner 2017-04-03 22:04:35 -04:00
parent fea5ceb9b4
commit 05e7f273bd

5
dev/js/update Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
npm=$(which npm)
[[ -w $npm ]] || npm="sudo $npm"
$npm -g update