Update package.json automatically.