extract some gulp's helpers to node package