prepare for npm upload