How do I configure shortcut commands for node?

how to configure the commonly used npm start,npm install and other commands in sublime, at present, you can only compile build to run the program, and other commands are grayed out and cannot be used. I have been using the vscode editor before.

May.05,2022

{
  "shell_cmd": "node $file_name",
  "selector": "source.js",  
  "quiet": true
}

shell_cmd: same command as in the terminal. $file_name is the file name variable
selector: file range
quiet: build time is not displayed


then replace it with vscode , which is better than sublime , ha

Menu