Fact 1: Mammals that are viviparous are called therian mammals. 
Fact 2: By Jurassic times, mouse-sized therians with jaws and hair had evolved.
Mouse-sized viviparous mammals evolved by Jurassic times.