added a main property to component.json

by default component looks for an `index.js` script, so if it's not named that you need a `main` property