ionic framework - Save information about cordova packages -


i using several cordova packages in ionic app. below command use installing cordova package

cordova plugin add cordova-plugin-network-information 

this works fine. challenge information not saved in package.json.

so, next developer has pulled code has manually install cordova plugins have installed.

i looking 'npm install xxxx --save' save plugin/packages information somewhere , command pull packages automatically.

in projects, have seen following in package.json

 "cordovaplugins": [     "cordova-plugin-camera",     "cordova-plugin-statusbar"   ] 

however, not able find command add these package.json or should updated manually?

if you're using cordova 4.3.0 or higher plugins using should documented in , restored config.xml automatically. see docs here.

see docs on saving plugins , on restoring plugins.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -