updated prepublish to use common.npm