modify a package.json for npm publish