项目中执行:
npm adduser
项目的package.json 中添加:
"name": "gulp-dot-commonjs-compile", "version": "0.0.2", "repository": { "type": "git", "url": "https://github.com/lukezhang001/gulp-dot-commonjs-compile" }
然后执行:
npm publish
注意同一个版本号不能发布两次