add a main to component.json
Merge pull request #13 from jonathanong/patch-1

add a main to component.json