cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Coleman <don.cole...@gmail.com>
Subject Re: using node modules in cordova plugins?
Date Wed, 03 Jul 2013 17:55:18 GMT
I have minimal dependencies, so I will try Andrew's suggestion of
pre-building a single js file.


On Wed, Jul 3, 2013 at 1:38 PM, Brian LeRoux <b@brian.io> wrote:

> Having just explored Bower for Topcoat I can say w/ confidence its
> simply not ready for primetime as a package manager. You can't remove
> an entry from its registry yet! (That and, its slow.)
>
>
> On Wed, Jul 3, 2013 at 10:25 AM, Andrew Grieve <agrieve@chromium.org>
> wrote:
> > 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