Hello,
hmm if you install via npm a package then it is automatically added to package.json into the right place. In devDepenencies are only packages that are need for development and not for production.
Normally it is not necessary to add manually anything in package json. And I am not sure what do you mean with ‘my module’.
Hello,
if you go to npm you should see after publishing your npm package. Okay?
You install it via npm you should see in in package.json in dependecies. Okay? devDependencies are only for development and not shipped with your release.
Also it should be in nodes_module folder.
In ionic you handle and import it like an other package. providers go to ngModule provider section, modules go to import section. entrycomponents only if your components not part of templates (which is mostly not the case),
You don’t understand me. I know the difference between dependencies and devDependencies.
What I don’t know is where to put certain packages such as ionic-angular, @ionic-native/network or @angular/core .
What I want is that when I install the module I am developing in my Ionic App through npm I don’t have to install those dependencies in my Ionic App again. I guess that if I put my dependencies in dependencies in the module I am developing I won’t have to install them in my App but if I put them in devDependencies I’ll have to install them again in my App, am I right?