Heat the oven to 375°F (190°C). Butter an 8-inch (20 cm) square baking dish or a similar 2-quart dish.
In a large bowl, stir together the oats, chopped nuts, 2 tablespoons of the pumpkin seeds, cinnamon, ginger, baking powder and salt.
In a second bowl, whisk the milk, eggs, maple syrup, melted butter and vanilla until smooth.
Scatter about two-thirds of the pear pieces and cranberries over the bottom of the dish. Spread the oat mixture evenly on top, then slowly pour the milk mixture over it. Gently press the oats down with a spoon so they are all moistened.
Top with the remaining pears and cranberries and the last tablespoon of pumpkin seeds.
Bake for 38–45 minutes, until the top is golden and the center is set and no longer wobbly. A knife inserted in the middle should come out without any liquid egg; if you use a thermometer, the center should reach 160°F (71°C).
Let the oatmeal rest for 10 minutes before cutting. It firms up as it cools.