Prepare package.json for npm