updates npm cli support
Merge pull request #1 from pflannery/register-cli-with-npm

fixes npm cli generation when installed globally