Purpose of cordovaPlugins in package.json

What is purpose of “cordovaPlugins” array of objects in package.json file if cordova-cli not fetching them automatically after adding new platform (on fresh clone, when “plugins” directory is missing)?

2 Likes

This is so you can run ionic state save and ionic state restore and have your plugins (along with any information need for them) be installed and restored your project from where you left off

1 Like

Is this really necessary now that Cordova 5 allows --save to put them in the config.xml file?

2 Likes