简体   繁体   English

构建Github npm软件包

[英]Building Github npm package

I am totally new to npm packages. 我对npm软件包完全陌生。 I have a Github npm package. 我有一个Github npm软件包。 I have installed all the dependencies and packages which were described in the instruction. 我已经安装了说明中描述的所有依赖项和软件包。 Can anyone please suggest me the list of steps to execute in order to install/build/run that package. 任何人都可以向我建议要安装/构建/运行该软件包的步骤列表。

The folder abc in c:/ contains the package.json and other package related files and folders. c:/中的abc文件夹包含package.json和其他与软件包相关的文件和文件夹。

Thanks 谢谢

Go to that folder and open up terminal command and type in : 转到该文件夹​​并打开终端命令,然后输入:

npm init

to setup your node package.json 设置您的节点package.json

If you already have that and just want to install the packages in your dependency then do 如果您已经拥有了,并且只想在您的依赖项中安装软件包,请执行

npm install.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM