Export component event scripts

A post was split to a new topic: Issues with view.json file