cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anis KADRI <anis.ka...@gmail.com>
Subject Re: using node modules in cordova plugins?
Date Wed, 03 Jul 2013 14:31:14 GMT
You could also ship your plugin as a node package (with a package.json and
node_modules) and point your js paths to node_modules/ (just as +andrew
said). Maybe plugman should also support before_ and after_ hooks as well
in order to run "npm 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