feat: update config & package.json

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-06-23 16:07:55 +08:00
parent dc4e554a35
commit 1bb938dcbd
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
"stream": true "stream": true
}, },
"publish": { "publish": {
"access": "public",
"registry": "https://repo.yumc.pw/repository/npm-hosted/" "registry": "https://repo.yumc.pw/repository/npm-hosted/"
} }
} }

View File

@ -14,7 +14,7 @@
"ug": "yarn upgrade-interactive --latest", "ug": "yarn upgrade-interactive --latest",
"np": "lerna exec \"npm publish --access=public --registry https://registry.npmjs.org\" --scope=\"@ccms/!(client|plugins)\"", "np": "lerna exec \"npm publish --access=public --registry https://registry.npmjs.org\" --scope=\"@ccms/!(client|plugins)\"",
"lsp": "npm login --registry=https://registry.npmjs.org --scope=@ccms", "lsp": "npm login --registry=https://registry.npmjs.org --scope=@ccms",
"lp": "lerna publish --access=public --registry https://registry.npmjs.org" "lp": "lerna publish --registry https://registry.npmjs.org"
}, },
"workspaces": [ "workspaces": [
"packages/*" "packages/*"