mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-23 07:40:18 +00:00
refactor(Terminal):设置 NPM 源的命令名称调整
This commit is contained in:
parent
a8f364cd4d
commit
10d3eb2494
@ -121,8 +121,8 @@ return [
|
||||
'command' => 'nr build',
|
||||
],
|
||||
],
|
||||
// 设置源
|
||||
'set-registry' => [
|
||||
// 设置 NPM 源
|
||||
'set-npm-registry' => [
|
||||
'npm' => 'npm config set registry https://registry.npmjs.org/ && npm config get registry',
|
||||
'taobao' => 'npm config set registry https://registry.npmmirror.com/ && npm config get registry',
|
||||
'tencent' => 'npm config set registry https://mirrors.cloud.tencent.com/npm/ && npm config get registry'
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user