mock the npm registry