ied 详细介绍
ied 是另一个 Node.js 包管理器,类似 npm,但是比 npm 快!
主要特性:
快速,完全并发安装
正确解决依赖
支持 semver
正确处理 devDependencies
生成一个平滑的 node_modules 目录
快速缓存
与 npm registry 交互
包没有全局命名空间
允许你在同一个包a require 多个版本
通过进程条可视化指示器进程
遵循你的全局配置
提供有用工具集,比如 ping, config, ls
支持私有 registries
使用
ied is a package manager for Node.
Usage:
ied command [arguments]
The commands are:
install fetch packages and dependencies
run run a package.json script
test run the test-suite of the current package
shell enter a sub-shell with augmented PATH
ping check if the registry is up
ls print the dependency graph
expose make a sub-dependency `require`able
config print the used config
init initialize a new package
link link the current package or into it
unlink unlink the current package or from it
Flags:
-h, --help show usage information
-v, --version print the current version
-S, --save update package.json dependencies
-D, --save-dev update package.json devDependencies
-o, --only install a subset of the dependencies
-r, --registry use a custom registry (default: http://registry.npmjs.org/)
Example:
ied install
ied install <pkg>
ied install <pkg>@<version>
ied install <pkg>@<version range>
Can specify one or more: ied install semver@^5.0.1 tape
If no argument is supplied, installs dependencies from package.json.
Sub-commands can also be called via their shorthand aliases.
README: https://github.com/alexanderGugel/ied
ISSUES: https://github.com/alexanderGugel/ied/issues
文章转载自 开源中国社区[https://www.oschina.net]
时间: 2024-09-20 15:53:14