【问题标题】:How to reference a private repository in Git HUb enterprise in package.json? [duplicate]如何在 package.json 中引用 Github 企业中的私有仓库? [复制]
【发布时间】:2016-05-26 04:45:05
【问题描述】:

我有一个托管在 git hub 企业上的私有存储库。我想为我的应用下载这个包。如何在我的 package.json 中引用它?

【问题讨论】:

  • 你有 ssh 密钥设置吗?

标签: node.js npm package.json


【解决方案1】:
"repository": {
    "type": "git",
    "url": "git+https://github.com/username/your-project.git"
}

【讨论】:

    猜你喜欢
    • 2022-12-20
    • 2019-09-27
    • 2020-05-27
    • 2021-06-30
    • 2022-10-13
    • 2023-01-21
    • 1970-01-01
    • 2012-10-19
    • 1970-01-01
    相关资源
    最近更新 更多