1
luin 2013-02-07 01:21:56 +08:00 via iPhone
https://npmjs.org/doc/folders.html
Starting at the $PWD, npm will walk up the folder tree checking for a folder that contains either a package.json file, or a node_modules folder. If such a thing is found, then that is treated as the effective "current directory" for the purpose of running npm commands. (This behavior is inspired by and similar to git's .git-folder seeking logic when running git commands in a working dir.) If no package root is found, then the current folder is used. |
2
Jat001 2013-02-07 03:02:30 +08:00 1
请用 -d
|