Fix component.json

According to this: https://github.com/component/spec/blob/master/component.json/specifications.md#main, you still need to add a `scripts` property which includes the `main` script.
Merge pull request #683 from jeromegn/patch-1

Fix component.json