Mark cordova as devDependencies and peerDependencies.

"cordova": ">= 3.4" not works with latest npm because of its x.y.z-a.b.c version style.

On the other hand, cordova prefer install with "npm -g install cordova" ;-)