allow 'npm view --global' if package is specified