prepare for npm package