如何包含 dr.js 的依赖项?
How do I include dependencies for dr.js?
我正在尝试安装 dr.js 作为我的 javascript 文档。
这是一个link:https://www.versioneye.com/nodejs/dr.js/0.1.1
我使用 node.js 和 npm 所以我安装了。
我可以看到有依赖关系。这些是什么?我该如何处理依赖项?有谁知道如何安装dr.js?
如何包含依赖项?
我做到了
npm install dr.js@0.1.1
我得到了
dr.js@0.1.1 ../node_modules/dr.js
├── eve@0.5.0
├── dot@1.0.3
├── markdown@0.5.0 (nopt@2.1.2)
└── topcoat@0.7.5 (topcoat-utils@0.1.3, topcoat-range-base@0.0.3, topcoat-list@0.5.0, topcoat-textarea@0.3.0, topcoat-switch-base@0.1.0, topcoat-search-input-base@0.1.2, topcoat-tab-bar@0.1.0, topcoat-radio-button-base@0.1.1, topcoat-input-base@0.4.1, topcoat-checkbox-base@0.1.3, topcoat-checkbox@0.4.0, topcoat-notification@0.1.1, topcoat-icon-button@0.3.4, topcoat-button-bar-base@0.1.5, topcoat-notification-base@0.0.1, topcoat-textarea-base@0.3.2, topcoat-button-base@0.6.1, topcoat-list-base@0.4.1, topcoat-button-bar@0.1.1, topcoat-radio-button@0.1.2, topcoat-text-input@0.3.4, topcoat-theme@0.5.24, topcoat-search-input@0.3.3, topcoat-button@0.5.5, topcoat-switch@0.1.4, topcoat-range@0.1.0, topcoat-navigation-bar-base@0.4.0, topcoat-navigation-bar@0.4.2)
这个输出是什么意思?这是否意味着安装完成?
我是 node.js 和 npm 的新手..
这意味着您在 node_modules 目录中安装了 dr.js 及其依赖项。如果您打开 dr.js 目录,您将看到 node_modules 文件夹,其中安装了它的依赖项,例如 dot、markdown。
以下将安装最新版本:
npm install dr.js
这将安装版本 0.1.1:
npm install dr.js@0.1.1
我正在尝试安装 dr.js 作为我的 javascript 文档。 这是一个link:https://www.versioneye.com/nodejs/dr.js/0.1.1
我使用 node.js 和 npm 所以我安装了。 我可以看到有依赖关系。这些是什么?我该如何处理依赖项?有谁知道如何安装dr.js?
如何包含依赖项?
我做到了
npm install dr.js@0.1.1
我得到了
dr.js@0.1.1 ../node_modules/dr.js
├── eve@0.5.0
├── dot@1.0.3
├── markdown@0.5.0 (nopt@2.1.2)
└── topcoat@0.7.5 (topcoat-utils@0.1.3, topcoat-range-base@0.0.3, topcoat-list@0.5.0, topcoat-textarea@0.3.0, topcoat-switch-base@0.1.0, topcoat-search-input-base@0.1.2, topcoat-tab-bar@0.1.0, topcoat-radio-button-base@0.1.1, topcoat-input-base@0.4.1, topcoat-checkbox-base@0.1.3, topcoat-checkbox@0.4.0, topcoat-notification@0.1.1, topcoat-icon-button@0.3.4, topcoat-button-bar-base@0.1.5, topcoat-notification-base@0.0.1, topcoat-textarea-base@0.3.2, topcoat-button-base@0.6.1, topcoat-list-base@0.4.1, topcoat-button-bar@0.1.1, topcoat-radio-button@0.1.2, topcoat-text-input@0.3.4, topcoat-theme@0.5.24, topcoat-search-input@0.3.3, topcoat-button@0.5.5, topcoat-switch@0.1.4, topcoat-range@0.1.0, topcoat-navigation-bar-base@0.4.0, topcoat-navigation-bar@0.4.2)
这个输出是什么意思?这是否意味着安装完成? 我是 node.js 和 npm 的新手..
这意味着您在 node_modules 目录中安装了 dr.js 及其依赖项。如果您打开 dr.js 目录,您将看到 node_modules 文件夹,其中安装了它的依赖项,例如 dot、markdown。
以下将安装最新版本:
npm install dr.js
这将安装版本 0.1.1:
npm install dr.js@0.1.1