Stephen Curry had 30 points and Kevin Durant added 29 as the Warriors overcame a fourth-quarter scare from Toronto for their first home victory.