Doesn't fit your needs?
You can remove NativeScript from Capacitor with:
node ./node_modules/.bin/uninstall-nativescript.js
- will remove ios/android build stepsnpm uninstall @nativescript/capacitor
- will remove npm package- It is up to you if you'd like to archive the
src/nativescript
folder for later use; It will no longer be used regardless.
If you find the uninstall doesn't clean you up enough, feel free to let us know here.