Beauty brands are stepping up their e-commerce efforts in a bid to compete with retail heavyweights Amazon and Target.