node.js Meteor:如何列出已安装的软件包

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17182348/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 14:49:42  来源:igfitidea点击:

Meteor: How to list the installed packages

node.jsmeteornpmmeteorite

提问by Jonathan de M.

I'm starting with Meteor, and I'd like to know how to list the installed packages.

我从 Meteor 开始,我想知道如何列出已安装的软件包。

meteor listwould only list the available packages in the registry.

meteor list只会在注册表中列出可用的包。

Edit: Since meteor 0.9.0.1 meteor listlists the available packages in the project.

编辑:由于meteor 0.9.0.1meteor list列出了项目中的可用包。

回答by Clark Pan

Update: as of meteor 1.0, the command is now

更新:从流星 1.0 开始,命令是现在

meteor list

回答by Clark Ritchie

I think it's just meteor listnow (as of 0.9.0.1).

我认为它只是meteor list现在(从 0.9.0.1 开始)。

回答by Vasily Bezruchkin

meteor list

does the trick for meteor 1.0

流星1.0的诀窍

回答by Daniel Du

You can also look into the ./meteor/packages file, which is a plain text file, all installed packages are listed in it.

您还可以查看 ./meteor/packages 文件,这是一个纯文本文件,其中列出了所有已安装的软件包。

回答by user3807691

meteor list Works fine for the latest meteor version, 1.2

流星列表适用于最新的流星版本,1.2

回答by Koushik Roy

You can check by typing meteor liston the command line on your project directory. Or, Browse into .meteor folder on your project directory and view the packages file with your favorite text editor.

您可以通过meteor list在项目目录的命令行上键入来进行检查。或者,浏览到项目目录中的 .meteor 文件夹并使用您喜欢的文本编辑器查看包文件。

回答by Aboo Pallikara

Simple Way to Found packages Folder

找到包文件夹的简单方法

.meteor/packages

.meteor/包

Open this file on Editor. Listed All Packages

在编辑器上打开此文件。列出所有包

回答by Dheeraj Balodia

If you want to list all the packages then you can go to .meteor/packagesthere you'll find all the packages installed.

如果你想列出所有的包,那么你可以去.meteor/packages那里你会找到所有安装的包。

For reference, you can check this

作为参考,你可以检查这个

enter image description here

在此处输入图片说明

回答by ralphie

You can also use as of version 0.9.0.1 to search package: meteor search nameofpackage

您还可以使用 0.9.0.1 版本来搜索包: meteor search nameofpackage

回答by Pelle M?rtenson

An advantage with using meteor listcompared to look in .meteor/packagesis that the version numbers is included in the list command and * marks outdated versions.

使用meteor list与查找相比的一个优点.meteor/packages是版本号包含在列表命令中,* 标记过时的版本。