Install
- Ctrl+P, write
ext install npm script runner - Restart VS Code
Use (two ways)
- Ctrl+R Shift+R
- Ctrl+P, write
>npm, selectrun script, select the desired task
Update: Since version 1.3 Visual Studio Code has integrated terminal. To open it, use any of these methods:
- Use the Ctrl+` keyboard shortcut.
- Use the View | Toggle Integrated Terminal menu command.
- From the Command Palette (Ctrl+Shift+P), use the
View:Toggle Integrated Terminalcommand.