check component.json when local compare