Yield: 17 to 18 cupcakes (don't even try to get 24 out of this like I did. trust me)
1 stick unsalted butter, room temperature, plus more for greasing pans
2. In a stand mixer, beat the butter and sugars on medium speed until fluffy, about 5 minutes. Meanwhile, sift the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, cloves, salt, and pepper into a medium bowl.
3. Add the eggs 1 at a time to the mixer, scraping down the sides after each addition. Alternate adding the flour and milk mixtures, beginning and ending with the flour. Beat in the pumpkin until smooth. Scoop the batter among the cupcake liners — you’re looking to get them 3/4 full. Rap the filled pans once on the counter to release any air bubbles. Bake the cakes until a toothpick inserted into the center comes out clean, about 20 to 25 minutes. Cool the cupcakes on racks completely.