Add missing methods to create npm publish tasks