preparation of npm publish