There is no npm lifecycle script for cache clearing -- it's a global action, not related to your package at all. so, too, is the bower cache, I believe.
However, if you're needing to clear the cache, you've either found a bug in npm, or using an old version. I strongly suggest using the latest npm, clearing your cache after the upgrade, and then not doing that any more.
Aria