Update npm package.json and analytics code.