Section: tasks.json

NPM build task

json
json
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "npm: build",
      "type": "shell",
      "command": "npm run build",
      "group": "build"
    }
  ]
}

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing tasks.json
Run build task shortcut
Run default build task quickly.
OpenIn sheettextsame section
Background watch task
Mark long-running watchers as background tasks.
OpenIn sheetjsonsame section
Toggle breakpoint
Set or remove a breakpoint.
Basic Node launch config
Debug the current Node file.
Step over
Execute current line without stepping into functions.
Attach to existing Node process
Attach debugger to a process already running with inspect.