If you want to go low tech there's already a commercial solution:https://www.ebay.com/itm/292260462827
It looks like the come in several G force ratings.
I guess the idea is partly that if the people handling your packages see the thing on there they will be more careful. I'm not sure whether the workers actually care, especially this time of year. I hear the workers at the standard shipping services will literally throw the packages across the room.
A more technological project would be interesting, though I don't know how useful the information gained will be to you. I remember seeing a video on YouTube that was actually a camera that was recording video through a small hole in a package through the whole journey. I'm not sure what kind of legal implications that might have.