自定义包发布注册npm账号将源切换至npm (用过nrm 切换到taobao源的 需要进行这个步骤)初始化项目 $ npm init -y创建入口文件开发登陆npm账号 $ npm adduser发布项目 $ npm publish3 dependents2 versions@everything-registry/sub-chunk-1818@infinitebrahmanuniverse/nolb-h5@zalastax/nolb-h51.0.13 years ago1.0.03 years ago