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

8 lines
205 B
Bash
Executable File

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