Missing parameter in component.json file

Without the parameter `main`, component.io will look for `index.js` file in the root folder.