Ray wrote: > For now, I'm simply going to look for the common subdirectories (hook, > plugins, platforms, and www) > as a means of sniffing if the project is a Cordova project.
Fwiw, we've used similar sniffing behavior. It has broken with each update of Cordova. I haven't tried to use the cordova function -- I'm not sure how long it has existed, and its location in Cordova has moved (cordova-lib postdates our code by a while).