Update npm and bower packages before building.