Skip to content

Commit eaec7c3

Browse files
committed
Fixing microsoft#43978 add description/readme
1 parent 32b28ce commit eaec7c3

4 files changed

Lines changed: 16 additions & 2 deletions

File tree

extensions/npm/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Node npm
2+
3+
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'
4+
are treated as build tasks.
5+
6+
To run scripts as tasks you use the `Tasks` menu.
7+
8+
## Settings
9+
- `npm.autoDetect` enable detecting scripts as tasks, the default is `on`.
10+
- `npm.runSilent` run npm script with the `--silent` option, the default is `false`.
11+
- `npm.packageManager` the package manager used to run the scripts: `npm` or `yarn`, the default is `npm`.

extensions/npm/images/npm_icon.png

3.21 KB
Loading

extensions/npm/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "npm",
33
"publisher": "vscode",
4-
"description": "Extension to add task support for npm scripts.",
5-
"displayName": "Npm support for VSCode",
4+
"displayName": "%displayName%",
5+
"description": "%description%",
66
"version": "0.0.1",
77
"engines": {
88
"vscode": "0.10.x"
99
},
10+
"icon": "images/npm_icon.png",
1011
"categories": [
1112
"Other"
1213
],

extensions/npm/package.nls.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"description": "Extension to add task support for npm scripts.",
3+
"displayName": "Npm support for VSCode",
24
"config.npm.autoDetect": "Controls whether auto detection of npm scripts is on or off. Default is on.",
35
"config.npm.runSilent": "Run npm commands with the `--silent` option.",
46
"config.npm.packageManager": "The package manager used to run scripts.",

0 commit comments

Comments
 (0)