How to run Gulp using scripts?

Dear all,

I want to optimize hundreds of structures using Gulp. But I cannot find any script for Gulp. Can anyone tell me what is the best way to do this?

Many thanks

Yi