Sift the flour, whole-wheat flour, cocoa powder, baking powder, and salt. Add the nibs to the sifted flour and set aside. Place the butter, brown sugar and granulated sugar in the bowl of a stand mixer fitted with a paddle attachment. Cream 3 to 4 minutes or until light and fluffy.