Replace build hook scripts with equivalent gulp tasks