updated prepublish to use common.npm

happens to fix #6423 also