On Fri Mar 14 11:36 PM, Carlos Santana wrote:
> I have being thinking on this sort of problem also.
>
> I think using npm to store none node code is perfectly fine use case.
>
> I vote to leverage npm as the building block and then build cordova functions
> on
> top of it.
>
+1 where possible like caching
>
> "dependencies": {
> "org.apache.cordova.platform.ios": ">=3.4.0",
> "org.cordova.platform.android": ">=3.3.0",
> "org.apache.cordova.device": "~0.2.8",
> "cordova-cli": "~3.4.0"
> },
That's a bit of an oversimplification, you may not want the same plugin on
android & ios.
-1 on dependencies through npm, +1 with Braden for cordova lib that handles the
dependency fetching.
Devil's in the details so +1 for experimenting though