summaryrefslogtreecommitdiff
path: root/deps/npm/scripts/dep-update
blob: a0aaed7dbcd55a0c2e1922cce1e5341fbd92078f (plain)
1
2
3
4
5
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