From 9587a748eb8a1b5d4acb1658eea7da5bab8c1637 Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Tue, 2 Jun 2020 18:03:22 +0800 Subject: [PATCH] feat: add scope login script Signed-off-by: MiaoWoo --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e206126c..d39b8c7c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "build": "lerna run build --scope=\"@ccms/!(plugins)\"", "build:plugins": "lerna run build --scope=\"@ccms/plugins\"", "ug": "yarn upgrade-interactive --latest", - "np": "lerna exec \"npm publish --registry https://registry.npmjs.org\" --scope=\"@ccms/!(client|plugins|types)\"", + "np": "lerna exec \"npm publish --registry https://registry.npmjs.org\" --scope=\"@ccms/!(client|plugins)\"", + "lsp": "npm login --registry=https://registry.npmjs.org --scope=@ccms", "lp": "lerna publish" }, "workspaces": [