node/deps/npm/man/man1/npm-explore.1

56 lines
1.0 KiB
Groff
Raw Normal View History

.TH "NPM\-EXPLORE" "1" "February 2015" "" ""
.SH "NAME"
2014-09-25 05:41:07 +08:00
\fBnpm-explore\fR \- Browse an installed package
.SH SYNOPSIS
.P
.RS 2
2014-11-05 07:08:12 +08:00
.nf
2014-08-01 00:05:30 +08:00
npm explore <name> [ \-\- <cmd>]
2014-11-05 07:08:12 +08:00
.fi
2014-09-25 05:41:07 +08:00
.RE
.SH DESCRIPTION
.P
Spawn a subshell in the directory of the installed package specified\.
.P
If a command is specified, then it is run in the subshell, which then
immediately terminates\.
.P
2014-09-25 05:41:07 +08:00
This is particularly handy in the case of git submodules in the
\fBnode_modules\fR folder:
.P
.RS 2
2014-11-05 07:08:12 +08:00
.nf
npm explore some\-dependency \-\- git pull origin master
2014-11-05 07:08:12 +08:00
.fi
2014-09-25 05:41:07 +08:00
.RE
.P
Note that the package is \fInot\fR automatically rebuilt afterwards, so be
sure to use \fBnpm rebuild <pkg>\fR if you make any changes\.
2014-09-25 05:41:07 +08:00
.SH CONFIGURATION
.SS shell
.RS 0
.IP \(bu 2
Default: SHELL environment variable, or "bash" on Posix, or "cmd" on
Windows
2014-09-25 05:41:07 +08:00
.IP \(bu 2
Type: path
2014-09-25 05:41:07 +08:00
.RE
.P
The shell to run for the \fBnpm explore\fR command\.
2014-09-25 05:41:07 +08:00
.SH SEE ALSO
.RS 0
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 5 folders
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help edit
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help rebuild
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help build
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help install
2014-09-25 05:41:07 +08:00
.RE