You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/npm/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,23 @@
4
4
5
5
## Features
6
6
7
+
### Task Running
8
+
7
9
This extension supports running npm scripts defined in the `package.json` as [tasks](https://code.visualstudio.com/docs/editor/tasks). Scripts with the name 'build', 'compile', or 'watch'
8
10
are treated as build tasks.
9
11
10
12
To run scripts as tasks, use the **Tasks** menu.
11
13
12
14
For more information about auto detection of Tasks, see the [documentation](https://code.visualstudio.com/Docs/editor/tasks#_task-autodetection).
13
15
16
+
### Script Explorer
17
+
18
+
The Npm Script Explorer shows the npm scripts found in your workspace. The explorer view is enabled by the setting `npm.enableScriptExplorer`.
19
+
20
+
### Run Scripts from the Editor
21
+
22
+
The extension provides commands to run the script containing the selection.
23
+
14
24
## Settings
15
25
16
26
-`npm.autoDetect` - Enable detecting scripts as tasks, the default is `on`.
0 commit comments