Install the package in the directory as a symlink in the current project. Its dependencies will be installed before it's linked. If <folder> sits inside the root of your project, its dependencies may be hoisted to the toplevel node_modules as they would for other types of dependencies.
npm install <tarball file>:
Install a package that is sitting on the filesystem. Note: if you just want to link a dev directory into your npm root, you can do this more easily by using npm link.
The filename must use .tar, .tar.gz, or .tgz as the extension. The package contents should reside in a subfolder inside the tarball (usually it is called package/). npm strips one directory layer when installing the package (an equivalent of tar x --strip-components=1 is run). The package must contain a package.json file with name and version properties.
关于·FAQ·API·我们的愿景·广告投放·感谢·实用小工具· 2900 人在线最高记录 5168· Select Language
World is powered by solitude
VERSION: 126.96.36.199 · 26ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53 ♥ Do have faith in what you're doing.