vscode/extensions/npm
2018-03-25 18:34:27 +02:00
..
.vscode ${workspaceRoot} -> ${workspaceFolder} 2017-09-19 11:21:49 +02:00
images Fixing #43978 add description/readme 2018-02-21 13:16:58 +01:00
src Fix #45816 only search for package.json files when auto detection is enabled 2018-03-25 18:34:27 +02:00
.vscodeignore use vsce to determine what to package when bundling extensions 2017-06-21 16:17:21 +02:00
package.json Change scope of exclude setting to resource 2018-02-28 16:57:38 +01:00
package.nls.json Fixing #31217 npm script not detected if the package.json is not in root folder 2018-02-28 16:51:43 +01:00
README.md Add link to the task documention. 2018-03-05 14:47:51 +01:00
tsconfig.json Set strict mode in a few extensions that already have strictNullChecks 2017-11-06 10:32:24 -08:00
yarn.lock Fixing #31217 npm script not detected if the package.json is not in root folder 2018-02-28 16:51:43 +01: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.autoDetect enable detecting scripts as tasks, the default is on.
  • npm.runSilent run npm script with the --silent option, the default is false.
  • npm.packageManager the package manager used to run the scripts: npm or yarn, the default is npm.
  • npm.exclude glob 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/**'.