updated prepublish to use common.npm

None. Inline is the correct way.