changing the order of execution of django and npm