Best thing is if you get offended when a good friend is half-joking/half-mean to you; just say sth right back at her half-joking/half-mean... to show ur indignation and not bottle up your 'hurt'... and after you do that; forgive n forget abt it..
just let them know how you feel and then tell them that you dont like it and if they keep doing it then really flip on them its not that hard to forget
it was just an one-off thing; so i'd take it easy... and just throw it right back at her.. If she's doing it often; then i'd probably haf 'the talk' with her.