FAQ
You can add build dependencies to your "dependencies" section of the
package.json file. If that package exposes a "grunt" executable then
it will be available to your npm scripts like "preinstall" or
"install", so you can execute it as if it were installed globally.
On Thu, Aug 16, 2012 at 4:56 PM, Jason Strimpel wrote:
Is there anyway to instruct a local package.json to install the dependencies
in the global node_modules dir? I am investigating using node (grunt) as
part of our build process for the front end, which developers will use for
local builds. I need to make it easy for developers to pull down the
package.json from our private repo and install the node build dependencies
globally so that the build can run on any machine without requiring a
developer to understand npm or node.

--
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscribe@googlegroups.com
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupnodejs @
categoriesnodejs
postedAug 17, '12 at 12:53a
activeAug 17, '12 at 1:26a
posts2
users2
websitenodejs.org
irc#node.js

2 users in discussion

Jason Strimpel: 1 post Nathan Rajlich: 1 post

People

Translate

site design / logo © 2022 Grokbase