【发布时间】:2017-08-16 03:26:58
【问题描述】:
假设我在 package.json 中有这样的脚本
"scripts": {
"a1": "first command",
"a2": "second command",
"a3": "third command",
}
如果我想在脚本 a3 中运行脚本 a1 和 a2 我该怎么做?这可能吗?我正在使用
节点版本:v6.9.4
npm 版本:4.3.0
我想实现这样的目标
"scripts": {
"a1": "first command",
"a2": "second command",
"a3": "third command && a1 && a2",
}
【问题讨论】:
标签: npm package.json