Preheat oven to 350°F (175°C) and line a muffin tin with cupcake liners.
Whisk together flour, baking powder, baking soda, salt, cinnamon, nutmeg, cloves, and ginger in a bowl.
In another bowl, mix granulated sugar, brown sugar, oil, eggs, pumpkin puree, and vanilla until smooth.
Add dry ingredients to wet ingredients, stirring gently until just combined.
-
Divide batter evenly into cupcake liners (about two-thirds full).
Bake for 18–20 minutes, or until a toothpick inserted in the center comes out clean.
Cool completely before frosting.
For the frosting: beat cream cheese and butter until creamy. Add powdered sugar and vanilla, and whip until fluffy. Spread or pipe onto cooled cupcakes.