Preheat oven to 350°F. Line baking sheets with parchment paper. In a small bowl, stir together flour, baking soda, and baking powder. Set aside.
In a large bowl, cream together the butter and sugar until smooth. Beat in egg and coconut flavoring. Gradually blend in the flour mixture until dough is formed. Add shredded coconut on low speed until incorporated. Roll dough into balls about 1 1/2 inch in diameter and place onto ungreased cookie sheets lined with parchment paper about 2 inches apart. Press down with palm to flatten dough so that they form round discs. Make sure edges are not cracked. If they get cracked from pressure of pressing down, smooth the round edges with your finger.
Bake 10 minutes in the preheated oven, until cookies are set and starting to slightly turn golden brown around the edges. Cookies will initially be puffy, but will flatten once cooled. Let cookies cool before removing from baking sheet.
The nutrition information provided are only estimates based on an online nutritional calculator. This is not a comprehensive list of all the nutrients in the recipe (i.e., does not include vitamins, cholesterol, etc). I am not a certified nutritionist. Please consult a nutritionist or doctor for accurate information and any dietary restrictions and concerns you may have.