Add main to component.json

Add `main` field to `component.json`