diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dep-update | 6 | ||||
-rwxr-xr-x | scripts/dev-dep-update | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/scripts/dep-update b/scripts/dep-update new file mode 100755 index 000000000..a0aaed7db --- /dev/null +++ b/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 diff --git a/scripts/dev-dep-update b/scripts/dev-dep-update new file mode 100755 index 000000000..6058cce94 --- /dev/null +++ b/scripts/dev-dep-update @@ -0,0 +1,6 @@ +#!/bin/bash +node . install --save --save-dev $1@$2 &&\ +git add package.json &&\ +git commit -m"$1@$2" &&\ +node . repo $1 &&\ +git commit --amend |