From 5c3ed4e36d99a25c15d46428b88d6237d2047e27 Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Fri, 15 May 2020 16:50:12 +0800 Subject: [PATCH] feat: add npm publish script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 7189df1d..e206126c 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "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)\"", "lp": "lerna publish" }, "workspaces": [