Add missing `scripts` in component.json

This would make `wrap-fn` usable with Component.
Not sure if Duo guesses a main script, if not, this would also fix Duo.

Side note: maybe a `main` property would also work/be cleaner?