In the bowl of an electric mixer, beat the butter and sugars on medium-high speed until light and fluffy, 2-3 minutes. At a lower speed, beat in the pumpkin puree, egg, and vanilla. In a separate bowl, whisk together the flour, baking powder, salt, and spices. With the mixer on low speed, gradually add the dry ingredients to the wet ingredients. Beat slowly until combined. Cover and chill the dough 30-40 minutes.