1. cd myPlugin & npm adduser
2. npm i -g plugman(if not install)
3. plugman createpackagejson ./ (make sure ecosystem:cordova in the keywords member)
4. npm publlish ./
注意如果publish时提示413 Request Entity Too Large...nginx/1.4.6,则将npm源切换为官方源即可
1. cd myPlugin & npm adduser
2. npm i -g plugman(if not install)
3. plugman createpackagejson ./ (make sure ecosystem:cordova in the keywords member)
4. npm publlish ./
注意如果publish时提示413 Request Entity Too Large...nginx/1.4.6,则将npm源切换为官方源即可