Update iOS version deployment target

When I create a capacitor plugin with ‘npx @capacitor/cli create’ it sets the deployment target to iOS 11. I would like to change that to iOS 13. I tried replacing all the instances of iOS 11 to 13, but that didn’t work. Is there a proper way to update the deployment target?