Make sure the terminal notifier is installed. Install it wia brew install terminal-notifier command.
The script assumes the iTerm is installed. Go get it, or edit the npm-update-notifier.sh for your need.
- Put
notify-update-npm.shto your~/bin/directory - Put
notify.update.npm.plistto your~/Library/LaunchAgents/directory - Run
launchctl load ~/Library/LaunchAgents/notify.update.npm.plist
This script is run twice a day at 11 AM & 4 PM.
Based on Based on Chris Streeters' brew-update-notifier.sh work from https://gist.github.com/streeter/3254906