Preheat the oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a mixing bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger. Set aside.
In a separate bowl, cream together the softened butter, granulated sugar, and brown sugar using an electric mixer or a whisk until fluffy.
Add the pumpkin puree, egg, and vanilla extract to the butter-sugar mixture, and mix until well combined.
Gradually add the dry ingredients to the wet mixture, stirring until just combined. If using, fold in the chocolate chips or nuts.
Using a cookie scoop or spoon, drop rounded tablespoons of dough onto the prepared baking sheet, spacing them about 2 inches apart.
Bake in the preheated oven for 10-12 minutes or until the edges are lightly golden and the centers are set.
Allow cookies to cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.