在我的package.json文件中,“腳本”中有很多命令,例如下面的代碼。"scripts" { "script1": "command example", "script2": "command example", "script3": "command example", "script4": "command example", "script5": "command example", "script6": "command example", "script7": "command example", ...}有什么方法可以將這些命令移動到另一個文件?例如,我正在考慮將它們移動到的文件中bin/commands.js。
對“腳本”使用單獨的文件
楊__羊羊
2021-04-09 14:11:21