Combine flour, baking soda, baking powder, cinnamon, nutmeg, and salt in a medium bowl. In a large mixing bowl, beat sugar and butter until well blended. Beat in pumpkin, egg, and vanilla until smooth. Gradually beat in flour mixture. Drop by rounded teaspoon onto prepared baking sheets.