标签:span bsp auth tail npm app 解释 .net des
如何发布自己写的npm包,这里有详细解释 : https://blog.csdn.net/u010130282/article/details/82629924
本文旨在解释遇到的问题:
1:需要设置nrm源 为 npm;
2:确保package.json文件中 name 在npm上不重名:
{ "name": "npm-demo-zyl", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "node index.js" }, "bin":{ "creatApp":"bin/index.js" }, "author": "zyl", "license": "ISC" }
3:先执行npm login 登录成功后,在打开新的npm publish;
标签:span bsp auth tail npm app 解释 .net des
原文地址:https://www.cnblogs.com/xiaozhumaopao/p/10331560.html