1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
4 .TH "NPM\-SUBMODULE" "1" "November 2013" "" ""
7 \fBnpm-submodule\fR \-\- Add a package as a git submodule
17 If the specified package has a git repository url in its package\.json
18 description, then this command will add it as a git submodule at \fBnode_modules/<pkg name>\fR\|\.
21 This is a convenience only\. From then on, it\'s up to you to manage
22 updates by using the appropriate git commands\. npm will stubbornly
23 refuse to update, modify, or remove anything with a \fB\|\.git\fR subfolder
27 This command also does not install missing dependencies, if the package
28 does not include them in its git repository\. If \fBnpm ls\fR reports that
29 things are missing, you can either install, link, or submodule them yourself,
30 or you can do \fBnpm explore <pkgname> \-\- npm install\fR to install the
31 dependencies into the submodule folder\.
36 npm help package\.json