码迷,mamicode.com
首页 > 其他好文 > 详细

npm-link

时间:2016-11-30 11:34:45      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:val   link   director   desc   glob   rect   local   href   pre   

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

标签:val   link   director   desc   glob   rect   local   href   pre   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!