atcheck/lsscanner/new_ubuntu/node_modules/npm/scripts/dep-update

8 lines
207 B
Bash
Executable File

#!/usr/bin/env bash
node . install --save $1@$2 &&\
node scripts/gen-dev-ignores.js &&\
git add node_modules package.json package-lock.json &&\
git commit -m"$1@$2" &&\
node . repo $1 &&\
git commit --amend