The composer-bin-plugin allows to separate the dependencies for helper scripts. This should be used like in the [app template](https://github.com/nextcloud/app_template/blob/main/composer.json) as an example.