首页 > 其他 > 详细

npm-link

时间:2016-11-30 11:32:06      阅读:327      评论:0      收藏:0      [点我收藏+]

https://docs.npmjs.com/cli/link

 

Package linking is a two-step process.

First, npm link in a package folder will create a globally-installed symbolic link from prefix/package-name to the current folder (see npm-config for the value of prefix).

Next, in some other location, npm link package-name will create a symlink from the local node_modules folder to the global symlink.

Note that package-name is taken from package.json, not from directory name.

npm-link

原文:http://www.cnblogs.com/skating/p/6116776.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!