prepare for the npm publish