Officials revealed new details Wednesday about how two gun-wielding attackers “targeted” a Jewish grocery store in Jersey City in a deadly, hours-long shootout that left six dead, including a cop and three bystanders.

The shooters were captured on CCTV footage Tuesday afternoon “slowly” rolling up to the Jersey City Kosher Supermarket in the Greenville neighborhood in a van before they stopped in front, “calmly opened the door with two long rifles” and “began firing from the street into the facility,” Jersey City Mayor Steven Fulop said at a Wednesday morning press conference.

Fulop said two officers on foot patrol a block south of the Martin Luther King Jr. Drive deli heard the gunfire and “they responded immediately.”

“From what we can tell on the CCTV cameras, had they not responded and had they not been there in that location, more than likely more people would have died,” said Fulop.

The pair of officers who initially responded were wounded, authorities said.

As more police arrived, the shooters retreated inside the deli, where they fatally shot a customer, a co-owner and a delivery worker, officials and community sources said.

“The reason that those perpetrators seemed to be inside of that deli and not able to move potentially to the school to inflict more harm was because the police responded immediately and returned fire,” said Fulop, who called the incident “a targeted attack on the Jewish kosher deli.”

Authorities said Tuesday that the pair of shooters fled into the shop after fatally shooting Detective Joseph Seals roughly a mile away from the store, but on Wednesday, Jersey City Public Safety Director James Shea said the incident “did not begin with gunfire between police officers and the perpetrators.”

“It began with an attack on the civilians in the store,” said Shea.

Shea noted that the two officers who initially ran toward the dangerous situation “heroically placed themselves in the line of fire” and “both of them received gunshot wounds as a result.”

“Within seconds, more Jersey City police officers responded to their calls, pulled them out of the line of fire and continued to engage the two people carrying guns inside the store,” Shea added.

Shea and Fulop would not call the shooting an anti-Semitic attack and said “the motives are still part of the investigation.”

Shea noted that as the incident unfolded, “there were multiple people on the streets that [the shooters] bypassed to attack that place … that was their target.”

“With the amount of ammunition they had, we have to assume they would have continued attacking human beings if we hadn’t been there,” Shea said.

The hours-long incident that rocked the Jersey City neighborhood, turning it into a virtual war zone, ended when police fatally shot the suspects, who have not yet been identified.

Though Jersey City officials did not denounce the attack as anti-Semitic, New York City Mayor Bill de Blasio called it a “hate crime” Wednesday morning.

“We have a police officer who was assassinated. We have clearly a hate crime — a very violent hate crime. There’s more we need to know. It’s early in the investigation,” de Blasio said on MSNBC’s “Morning Joe.”

The mayor added that as a result, he “put the NYPD on high alert focusing on our Jewish community and protecting our Jewish community.”

Additional reporting by Nolan Hicks