bn-view-plus
TypeScript icon, indicating that this package has built-in type declarations

1.3.26 • Public • Published

发布npm步骤

1、获取npmrc文件所在位置

npm config list
例如C:\Users\34002\AppData\Roaming\npm\etc\npmrc
没有npmrc文件则新建一个npmrc文件

2、修改npmrc文件为如下内容

email=changeme@yourcompany.com
always-auth=true
_auth=YWRtaW46UXdlIzc4OW5t

3、发布npm

npm publish

4、发布npm包配置(36环境与76环境任选其一)

npm config set registry http://118.24.21.36:9002/repository/npm-hosted/
npm config set registry http://192.168.22.76:9003/repository/npm-group/
npm config set registry https://registry.npmmirror.com
npm config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npmjs.org
推送到内网npm

1、npm config set registry http://192.168.22.76:9003/repository/npm-group/

2、设置publishConfig.registry为http://192.168.22.76:9003/repository/npm-hosted/

3、npm publish
拉取内网npm

1、npm config set registry http://192.168.22.76:9003/repository/npm-group/

2、yarn install
推送到外网npm

1、npm config set registry https://registry.npmjs.org

2、设置publishConfig.registry为https://registry.npmjs.org

3、npm publish
拉取外网npm

1、npm config set registry https://registry.npmjs.org

2、yarn install

5、其他

#查看镜像地址
npm config get registry
#查看仓库最新版本
npm view

Dependencies (13)

Dev Dependencies (45)

Package Sidebar

Install

npm i bn-view-plus

Weekly Downloads

7

Version

1.3.26

License

MIT

Unpacked Size

6.93 MB

Total Files

676

Last publish

Collaborators

  • zwyu