Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dep-update « scripts - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7911d8a84f04595a0190fde3a22a6ea20d23f983 (plain)
1
2
3
4
5
6
#!/bin/bash
node . install --save $1@$2 &&\
git add node_modules/$1/ package.json npm-shrinkwrap.json &&\
git commit -m"$1@$2" &&\
node . repo $1 &&\
git commit --amend