mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-11 00:33:05 -06:00
Node npm
Notice This is a an extension that is bundled with Visual Studio Code.
This extension supports running npm scripts defined in the package.json as tasks. Scripts with the name 'build', 'compile', or 'watch'
are treated as build tasks.
To run scripts as tasks you use the Tasks menu.
For more information about auto detection of Tasks pls see the documentation.
Settings
npm.autoDetectenable detecting scripts as tasks, the default ison.npm.runSilentrun npm script with the--silentoption, the default isfalse.npm.packageManagerthe package manager used to run the scripts:npmoryarn, the default isnpm.npm.excludeglob patterns for folders that should be excluded from automatic script detection. The pattern is matched against the absolute path of the package.json. For example, to exclude all test folders use '**/test/**'.npm.enableScriptExplorerenable an explorer view for npm scripts.npm.scriptExplorerActionthe default click action:openorrun, the default isopen.