Heat oven to 350 degrees Fahrenheit or 180 degrees Celsius.
In a large bowl, measure out 2 cups of all purpose flour. Add baking soda, baking powder, salt, cinnamon and nutmeg. Whisk to combine.
In another bowl, crack 3 eggs and whisk well. Add oil, pineapple and vanilla extract. Mix well. Add white and brown sugars and whisk until smooth.
Add wet ingredients to bowl with dry ingredients. Mix gently until combined. Fold in carrots and raisins.
Scoop batter into muffin pan lined with paper cups. This recipe makes 18 cupcakes or 24 small ones to use with frosting.
Bake in heated oven for 20 minutes or until toothpick inserted into center of cupcake is clean.
Cool pans completely on a rack.
If you want to frost these cupcakes, fill batter only 2/3 of the way, so they don’t bake above the cup. You will get about 24 small cupcakes.