cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Hennig <>
Subject Re: PROPOSAL: node.js all the script things
Date Wed, 07 Aug 2013 17:07:27 GMT
+1 for all platforms

I think it's not really an completely new dependency. Some components actually depends on
node.js like cordova-cli and plugman. Many developers of cordova app's actually using grunt
or bower and other node related stuff to lint or to test their html and js code. 

A consistent tool and script language it's easier to maintain an to debug. 

On Aug 7, 2013, at 12:14 AM, Filip Maj wrote:

> I would like to introduce node.js as a dependency for the platform
> libraries, so that the platform scripts (bin/create, cordova/run, etc) are
> written in node.
> Pros:
> - For multi-OS platforms (Android, BlackBerry), this reduces committer
> cognitive load as the scripts do not need to be authored in two different
> script languages (I.e. Shell for unix-y Oses, Wscript for Windows)
> - consistency in tool/script language. Cordova-js, coho, cli and plugman
> are all written on top of node.js.
> Cons:
> - Introducing a new dependency
> NB: This is separate from platform-spec; I would like to see platform-spec
> created/used regardless of the outcome of this thread.

View raw message