How do I bump both patch and prerelease at the same time with npm version?

Hi! I am developing a react app and I want to set the versions with npm version

If the current release is 0.1.0 the next development version should be 0.1.1-beta-0, then subsequent development versions should bump the number after beta (so 0.1.1-beta-1, 0.1.1-beta-2, etc), then when the production release is ready it should have version 0.1.1.

However I can’t find a way to bump both patch and prerelease at the same time or remove prerelease for a version number without bumping patch using npm version. How can I do this with npm version?