From c8c692b69c22301ad05abc4980d565bf1d2b1a25 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 10 Jun 2022 16:37:39 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0build:playgroun=20sc?= =?UTF-8?q?ript?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 92325b3e..82978153 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,9 @@ "playground": "pnpm --filter \"runtime-vue3\" --filter \"tmagic-playground\" dev", "playground:vue2": "pnpm --filter \"runtime-vue2\" --filter \"tmagic-playground\" dev:vue2", "playground:react": "pnpm --filter \"runtime-react\" --filter \"tmagic-playground\" dev:react", - "build": "pnpm --filter \"@tmagic/*\" --filter \"runtime-*\" --filter \"tmagic-playground\" build", - "postbuild": "shx mkdir playground/dist/runtime && shx cp -r runtime/vue2/dist ./playground/dist/runtime/vue2 && shx cp -r runtime/vue3/dist ./playground/dist/runtime/vue3 && cp -r runtime/react/dist ./playground/dist/runtime/react", + "build": "pnpm --filter \"@tmagic/*\" build", + "build:playground": "pnpm --filter \"runtime-*\" --filter \"tmagic-playground\" build", + "postbuild:playground": "shx mkdir playground/dist/runtime && shx cp -r runtime/vue2/dist ./playground/dist/runtime/vue2 && shx cp -r runtime/vue3/dist ./playground/dist/runtime/vue3 && cp -r runtime/react/dist ./playground/dist/runtime/react", "docs": "cd docs && npm run doc:dev", "page": "cd page && vite", "page-vue2": "cd page-vue2 && vite",