Roald Dahl wrote 17 children's novels and 2 novellas, plus 13 short story collections.
It's important to note that the number of books published under his name includes his stories written for adults, though he is most well-known for his children's literature.