MADISON, Wis. -

Green Party presidential candidate Jill Stein has filed a request for a recount with Wisconsin election officials.

State Elections Commission Administrator Mike Haas said Stein filed the request around mid-afternoon Friday, about an hour and a half ahead of a 5 p.m. deadline.

President-elect Donald Trump won Wisconsin and Pennsylvania by razor-thin margins and has a small lead in Michigan. All three states had been reliably Democratic in recent presidential elections.

Under Wisconsin law, Stein's campaign must show a basis for the recount in that state and cover costs.

She said she wants to make sure hackers didn't skew the results in those swing states. The campaign had raised about $5.2 million as of Friday afternoon to seek recounts in all three states.

Republicans are blasting Stein's plans to seek a recount. The state has never performed a presidential recount. Election officials estimate the effort will cost up to $1 million.

Wisconsin GOP Executive Director Mark Morgan issued a statement Friday calling Stein's decision to seek a recount "absurd" and "nothing more than an expensive political stunt that undermines the election process."