【发布时间】:2014-12-24 22:53:56
【问题描述】:
我看到了这个问题,但它并没有完全满足我的需求:How to npm install to a specified directory?
我有一个存储库,其中包含我在项目中使用的所有 sass 样板。我想通过 NPM 或其他方式将它包含在我的项目中,但我不能将它放在 node_modules 目录(或 bower_comonents)中。
有没有办法npm install / bower install 将 repo(或包)的内容放到不是 node_modules 或 bower_components 的目录中?
【问题讨论】: