prepare for npm publish