My useful bash scripts
Clone the repo into your HOME
cd
[email protected]:AvraamMavridis/bash-scripts.git
Add alias
to your .bash_profile
alias npminit='sh $HOME/bash-scripts/npminit.sh'
alias npmdep='sh $HOME/bash-scripts/npmdep.sh'
alias npmup='sh $HOME/bash-scripts/npmup.sh'
###npmup
Update locally the depedencies to their latest version respecting semver.
The changes are saved in the package.json
Then it creates and pushes a branch to the remote repo from which you can create a pull request.
###npminit
Reset and pull latest master. Install and update depedencies.
###npmdep
Lists the depedencies with a small description.