Configuring installation of separate Bower packages

Hi folks,

I am looking for advice on the best way to handle the installation of separate Bower packages in the Yii2 advanced template. Is there a manner in which there packages can be called from a .json file where redundant packages will be removed i.e. those no longer in the .json array and that are also not a dependency of a composer.json package?

Thanks.