Preheat oven to 350°F.
In a medium bowl, stir together the flour, cinnamon, allspice, ginger, baking powder, baking soda and salt; set aside.
In a large bowl, beat butter, brown sugar, pumpkin, egg, molasses and vanilla until smooth. Add flour mixture and stir by hand until almost combined; add raisins or other dried fruit and stir just until blended.
Drop large, rounded spoonfuls of dough 2” apart on a cookie sheet that has been sprayed with nonstick spray. Bake for 12–14 minutes, until just set — springy to the touch around the edges, but you still leave a slight dent if you touch them in the middle. Transfer to a wire rack to cool.