summaryrefslogtreecommitdiff
path: root/deps/npm/scripts/dep-update
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/scripts/dep-update')
-rwxr-xr-xdeps/npm/scripts/dep-update6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/npm/scripts/dep-update b/deps/npm/scripts/dep-update
new file mode 100755
index 0000000000..a0aaed7dbc
--- /dev/null
+++ b/deps/npm/scripts/dep-update
@@ -0,0 +1,6 @@
+#!/bin/bash
+node . install --save $1@$2 &&\
+git add node_modules/$1/ package.json &&\
+git commit -m"$1@$2" &&\
+node . repo $1 &&\
+git commit --amend