Fixed component.json

The `component.json` was missing `core.js` and `lib/next-tick.js` so it doesn't work if you try and use it with component