【发布时间】:2017-11-23 05:01:53
【问题描述】:
包.json
{
custom: "",
"build:xapp": "webpack ....",
"test:xapp": "karma ....",
"build:yapp": "webpack ....",
"test:yapp": "karma ...."
... n number of apps
}
如果想将自定义脚本的整个命令作为参数传递,我该怎么做?
类似的东西
yarn custom ---"yarn build:xapp,yarn build:yapp,yarn test:xapp"
【问题讨论】:
标签: node.js npm webpack gulp yarnpkg