Fix incorrect npm loglevel with --verbose flag

https://www.npmjs.org/doc/misc/npm-config.html
Merge pull request #1787 from sandstrom/patch-1

Fix incorrect npm loglevel with --verbose flag