prevent bower from prompting about statistics when running in subshell

see more https://github.com/bower/bower/issues/1102
exit successfully if npm never runs in pre-commit