dev/js: add npm update script
This commit is contained in:
parent
fea5ceb9b4
commit
05e7f273bd
5
dev/js/update
Executable file
5
dev/js/update
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
npm=$(which npm)
|
||||||
|
[[ -w $npm ]] || npm="sudo $npm"
|
||||||
|
$npm -g update
|
Loading…
Reference in a new issue