Thieves have targeted an electrical store in a North Yorkshire town.