feat: modify registry

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2019-06-21 16:59:54 +08:00
parent 7288d33ce2
commit 747105d603
2 changed files with 12 additions and 6 deletions

View File

@ -1,11 +1,17 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"scripts": {
"build": "npx tsc"
},
"version": "0.3.1",
"packages": [
"packages/*"
],
"version": "0.3.1"
}
"command": {
"run": {
"stream": true
},
"publish": {
"forcePublish": true,
"registry": "https://repo.yumc.pw/repository/npm-hosted/"
}
}
}

View File

@ -7,7 +7,7 @@
"license": "MIT",
"scripts": {
"build": "npx lerna run build",
"lp": "npx lerna publish --registry=https://repo.yumc.pw/repository/npm-hosted/",
"lp": "npx lerna publish",
"publish-please": "publish-please",
"prepublishOnly": "publish-please guard"
},