Ionic cordova plugins with package.json

Hi

I have a ionic project with Git versioncontrol. One dev machine has installed cordova plugins (with ionic plugin add) and the package.json was updated. I’ve pushed the json file so other developers can update their environment.

But when I run

npm update

on an other dev machine. It doesn’t update / install the cordova plugins in the package.json

What am I doing wrong?

never mind … found it

ionic state restore