Line your baking sheet with parchment paper and set aside.
In the bowl of your mixing stand, add all-purpose gluten free flour, sugar, baking powder, and salt.
Using either the whisk attachment or a hand whisk, mix together the ingredients.
With the flat beater attachment, turn on medium speed and add the egg and butter. Stop and scrape sides.
Add lemon zest, vanilla extract, and almond extract and mix to combine.
Mix in the cranberries and pistachios.
Biscotti
Place the dough in the center of the baking sheet and form into a long and relatively flat log with your hands.
Bake for about 23-25 minutes or until the outside of the log is lightly browned and somewhat firm.
Remove from the oven and let sit for a few minutes.
Slice loaf anywhere between ¼-inch to ½-inch thick. Arrange the slices, cut side down on the baking sheet, and return to the oven. Bake for 10-12 minutes.
Remove and let cool for 10 minutes.
Notes
Before baking, the dough should be rather loose.
If stored in an airtight container, these will keep for about two weeks.