依据原npm安装后的node_modules 目录生成一份yarn.lock 文件 yarn import This command assists the migration of projects currently relying on npm-shrinkwrap.json , minimizing the differences between...
显示一个包的信息。 yarn info [] 这个命令会拉取包的信息并返回为树格式,包不必安装到本地。 yarn info react yarn info vx . x . x { name : 'react' , version : '15.4.0-rc.2' , description : 'React i...