How to handle script dependencies in angular 2 mod

2019-03-05 14:04发布

问题:

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.