Prepare for npm deployment