Vscode Npm Scripts

VSCode extension for running npm-scripts and validating the package.json files.
Alternatives To Vscode Npm Scripts
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Git History13,254
2 months ago7March 19, 201976mitJavaScript
Quickly browse the history of a file from any git repository
Nb5,352
a month ago281June 12, 202298agpl-3.0Shell
CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
Mirrord2,491
8 hours ago5March 12, 2022142mitRust
Connect your local process and your cloud environment, and run local code in cloud conditions.
Xteko1,377
9 months ago3JavaScript
JSBox demos
Nx Console1,154
5 days ago26mitTypeScript
Nx Console is the user interface for Nx & Lerna.
Vscode Docker1,071
9 hours ago71otherTypeScript
Docker Extension for Visual Studio Code
Vscode Jupyter1,033
13 hours ago4December 26, 2021563mitTypeScript
VS Code Jupyter extension
Hover92322 days ago69January 05, 20224bsd-3-clauseGo
Hover helps developers to release Flutter applications on desktop.
Helm Intellisense870
4 months ago6mitTypeScript
Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml
Touchwx709
5 years ago29mitCSS
小程序组件化解决方案。官网:https://www.wetouch.net/wx.html
Alternatives To Vscode Npm Scripts
Select To Compare


Alternative Project Comparisons
Readme

Node npm

vscode version number of installs average user rating license

IMPORTANT: This extension has been deprecated. Support for running npm scripts is now provided by VS Code. You can run npm scripts as tasks using task auto detection or from the npm scripts explorer.

This extension supports running npm scripts defined in the package.json file.

Commands

Commands for running scripts are available the npm category.

  • Run a script (npm run-script) defined in the package.json by picking a script defined in the scripts section of the package.json.
  • Rerun the last npm script you have executed using this extension.
  • Run npm install, also available in the context menu of the explorer when the package.json file
  • Terminate a running script

The scripts can be run either in the integrated terminal or an output window.

Touch bar

Support for Macbook Pro touch bar. You can run the following commands:

  • npm install
  • npm start
  • npm test
  • npm build

touch bar support

Settings

  • npm.runInTerminal defines whether the command is run in a terminal window or whether the output form the command is shown in the Output window. The default is to show the output in the terminal.
  • npm.includeDirectories define additional directories that include a package.json.
  • npm.useRootDirectory define whether the root directory of the workspace should be ignored, the default is false.
  • npm.runSilent run npm commands with the --silent option, the default is false.
  • npm.bin custom npm bin name, the default is npm.
  • npm.enableTouchbar Enable the npm scripts on macOS touchbar.
  • npm.oldKeybindings.enable Enable the original npm keybindings that start with cmd/ctrl R

Example

{
  "npm.runInTerminal": false,
  "npm.includeDirectories": [
    "subdir1/path",
    "subdir2/path"
  ]
}

Keyboard Shortcuts

This extension originally defined a chording keyboard shortcut for the R key. This has resulted in conflicts with the keybindings provided by VS Code and has caused frustration. To avoid these conflicts the keybindings have been changed to use the existing chording shortcut starting with the K key. The following table shows the default key bindings that can always be changed, see the customization documentation.

Command Old New
Rerun last script CMD+R R CMD+K L
Select a script to run CMD+R SHIFT+R CMD+K SHIFT+R
Terminate the running script CMD+R SHIFT+X CMD+K SHIFT+X
Run the test script CMD+R T CMD+K T

If you prefer the old keybindings starting with R you can define the setting npm.oldKeybindings.enable to true.

Popular Vscode Projects
Popular Command Line Projects
Popular Integrated Development Environments Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Typescript
Command Line
Script
Vscode
Vscode Extension
Npm Scripts