You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
786 B
13 lines
786 B
7 months ago
|
# npm 仓库地址, 在 npm install 时使用
|
||
|
registry=http://nexus.sc.io:8000/repository/npm-public/
|
||
|
|
||
|
# 用户邮箱
|
||
|
email=
|
||
|
# publish 时无需先进行 git 代码同步检查, 可避免 publish 时使用 --no-git-checks 选项
|
||
|
git-checks=false
|
||
|
|
||
|
# 注意: 以下 // 不是注释,不能去掉哦
|
||
|
# 登录 npm 仓库的用户认证信息, 在 npm publish 时使用, publish 的 npm registry 在 package.json 文件中 publishConfig 部分配置
|
||
|
# _authToken 可通过以下命令获取
|
||
|
# curl -X PUT -H "Content-Type:application/json" -d '{"_id":"org.couchdb.user:admin","name":"admin","password":"admin"}' http://nexus.sc.io:8000/repository/npm-releases/-/user/org.couchdb.user:admin
|
||
|
//nexus.sc.io:8000/repository/npm-releases/:_authToken=NpmToken.67c99588-56a6-3ce1-9bea-a9a6164f8090
|