If property name is not existent on component.json default to property main on package.json

...ain on package.json