Regenerate package.json.