tis-cli前端项目快速搭建命令行工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

5 lines
202 B

const spawn = require('cross-spawn');
let target = process.argv[2]// 打包对象,指定要打包的package
spawn('lerna', ['run', '--scope', target, 'deploy:build', '--stream'], { stdio: 'inherit' })