mirror of
				https://github.com/Tencent/tmagic-editor.git
				synced 2025-11-04 10:49:51 +08:00 
			
		
		
		
	chore: 添加build:playgroun script
This commit is contained in:
		
							parent
							
								
									423059deac
								
							
						
					
					
						commit
						c8c692b69c
					
				@ -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",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user