K-S*_*ato 6 javascript npm package.json
在我的 package.json 文件中,“脚本”中有很多命令,如下面的代码。
"scripts" {
"script1": "command example",
"script2": "command example",
"script3": "command example",
"script4": "command example",
"script5": "command example",
"script6": "command example",
"script7": "command example",
...
}
Run Code Online (Sandbox Code Playgroud)
有什么方法可以将这些命令移动到另一个文件吗?
例如,我正在考虑将它们移动到像bin/commands.js.