This package has been deprecated

Author message:

Package no longer supported. Use at your own risk. Consider using the vscode built-in extensions pack instead. For example: https://github.com/eclipse-theia/theia-blueprint/blob/4f7e32dd8d3f72a9a9da3271a0ae8312fe1f5e07/applications/electron/package.json#L120

@theia/vscode-builtin-npm

0.2.1 • Public • Published

Node npm

Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.

Features

Task Running

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, use the Tasks menu.

For more information about auto detection of Tasks, see the documentation.

Script Explorer

The Npm Script Explorer shows the npm scripts found in your workspace. The explorer view is enabled by the setting npm.enableScriptExplorer. A script can be opened, run, or debug from the explorer.

Run Scripts from the Editor

The extension supports to run the selected script as a task when editing the package.jsonfile. You can either run a script from the hover shown on a script or using the command Run Selected Npm Script.

Others

The extension fetches data from https://registry.npmjs/org and https://registry.bower.io to provide auto-completion and information on hover features on npm dependencies.

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/**'.
  • npm.enableScriptExplorer - Enable an explorer view for npm scripts.
  • npm.scriptExplorerAction - The default click action: open or run, the default is open.
  • npm.scriptCodeLens.enable - Enable/disable the code lenses to run a script, the default is false.

Readme

Keywords

none

Package Sidebar

Install

npm i @theia/vscode-builtin-npm

Weekly Downloads

11

Version

0.2.1

License

none

Unpacked Size

106 kB

Total Files

23

Last publish

Collaborators

  • jhelming
  • jfaltermeier
  • msujew
  • eclipse-theia-bot
  • tsmaeder
  • marc.dumais
  • paul-marechal
  • bhufmann
  • vince-fugnitto
  • eclipsetheia