Combine the cranberries, sugar, and lime juice in a saucepan. Bring the mixture to a boil, reduce the heat to medium, and stir in the lime zest. Cook, stirring frequently, until the cranberries burst and the mixture thickens, about 15 minutes. Let cool.