cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: using node modules in cordova plugins?
Date Wed, 03 Jul 2013 17:25:42 GMT
Using Bower instead of npm might be another route to explore. Either way I
think pre-building your js is the best option


On Wed, Jul 3, 2013 at 11:15 AM, Don Coleman <don.coleman@gmail.com> wrote:

> The code runs on a phone. https://github.com/don/phonegap-nfc
>
> I've moved some of the javascript from my cordova plugin into a node module
> so I could re-use it in other projects. I haven't integrated the node
> module back into the plugin *yet*.
>
> I'm hoping I can do this without making the plugin more difficult to
> install.
>
>
>
> On Wed, Jul 3, 2013 at 9:59 AM, Bryan Bishop <kanzure@gmail.com> wrote:
>
> > On Tue, Jul 2, 2013 at 5:53 PM, Don Coleman <don.coleman@gmail.com>
> wrote:
> >
> >> I ripped a bunch of Javascript code out of my Cordova NFC plugin and
> >> created a NPM so I could reuse the code elsewhere.
> >>
> >
> > Is this something that runs on a phone? Does this mean you're running
> your
> > node module through browserify first?
> >
> > - Bryan
> > http://heybryan.org/
> > 1 512 203 0507
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message