Use the "optionalDependencies" field in your package.json for that:
https://npmjs.org/doc/json.html#optionalDependencies

On Tue, Dec 25, 2012 at 1:12 AM, Charlie Circle <[email protected]> wrote:
> Here is our problem:
> V8-profiler  can not be installed in windows, so all the packages depends on
> v8-profiler can not be installed.
> So our project can not be run on windows either.
>
> Can npm provide some options to config dependency platforms?
> If V8-profiler is not ok on windows, I just don't install it. It's an
> optional module to us.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to