feat: add npm publish script

This commit is contained in:
MiaoWoo 2020-05-15 16:50:12 +08:00
parent 738bc50939
commit d614b3741e

View File

@ -12,6 +12,7 @@
"build": "lerna run build --scope=\"@ccms/!(plugins)\"", "build": "lerna run build --scope=\"@ccms/!(plugins)\"",
"build:plugins": "lerna run build --scope=\"@ccms/plugins\"", "build:plugins": "lerna run build --scope=\"@ccms/plugins\"",
"ug": "yarn upgrade-interactive --latest", "ug": "yarn upgrade-interactive --latest",
"np": "lerna exec \"npm publish --registry https://registry.npmjs.org\" --scope=\"@ccms/!(client|plugins|types)\"",
"lp": "lerna publish" "lp": "lerna publish"
}, },
"workspaces": [ "workspaces": [