preparations for npm publish