prepare package.json for npm submission