summaryrefslogtreecommitdiff
path: root/bin/updatePlugins.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/updatePlugins.sh')
-rwxr-xr-xbin/updatePlugins.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/updatePlugins.sh b/bin/updatePlugins.sh
new file mode 100755
index 00000000..d696eca7
--- /dev/null
+++ b/bin/updatePlugins.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+#Move to the folder where ep-lite is installed
+cd `dirname $0`
+
+#Was this script started in the bin folder? if yes move out
+if [ -d "../bin" ]; then
+ cd "../"
+fi
+
+npm outdated --depth=0 | grep -v "^Package" | awk '{print $1}' | xargs npm install $1 --save-dev
+