How to handle script dependencies in angular 2 module published to npm

五迷三道 提交于 2019-12-02 18:03:29

问题


I have published an angular 2 library to npm recently.I have listed all the dependency scripts in the libraries package.json file. when I run npm install my-library all the dependency scripts are not installed.So, my question is how to install the dependency scripts while installing the library.

来源:https://stackoverflow.com/questions/47289167/how-to-handle-script-dependencies-in-angular-2-module-published-to-npm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!