【发布时间】:2017-12-02 08:46:01
【问题描述】:
试图弄清楚在 npm 脚本名称中放入 : 的作用。例如:
package.json
"test:ci": "rest of script"
:ci 会做什么?运行 npm run test:ci 失败
我真的找不到任何 bash 语法。
【问题讨论】:
-
与
bash无关。显然这是一个约定,可能是better explained。
标签: javascript node.js bash shell