Auto collect scripts for your component.json