https://www.npmjs.org/doc/package.json.html#optionalDependencies


On Fri, Jul 11, 2014 at 11:55 AM, Pascal Mathis <[email protected]>
wrote:

> Hello everyone
>
> I am currently trying to offer an *optional native library* for my own
> Node.js package. My library actually works 6+ (up to 20, didn't test
> further) times faster than with the plain JS implementation. The drawback:
> It requires libcrypto++-dev, otherwise the build will fail. Also, it will
> not work on Windows operating systems. What I am trying to do is to make
> the node-gyp build process optional, so that npm would continue with
> installing the package, even if node-gyp fails. Is there any way to do
> that? I've already looked through various example gyp-files and stumbled
> upon some documentations, but was not able to find a solution.
>
> Thanks in advance for your answer and have a nice evening!
>
> Best regards
> Pascal
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/13272d96-7d7e-4432-91a2-ded5eaffbe98%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/13272d96-7d7e-4432-91a2-ded5eaffbe98%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CALKLjxpicOdBMi%3Dd0jgMsnDADF4bT2enQdX_VVT7QHK6RkCVPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to