issue #4277 Add publish scripts to help developers publish project with nodejs

issue #4277 Add publish scripts to help developers publish project with nodejs