Add precommit hook and switch to 6to5 from react-tools.