use npm-registry-mock, fixes #3633