added main and dependencies to component.json