зеркало из https://github.com/microsoft/docs-yaml.git
Fixed npm install issue
This commit is contained in:
Родитель
e3394e3231
Коммит
feba27c6c3
|
@ -1,51 +0,0 @@
|
|||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
{
|
||||
"version": "0.1.0",
|
||||
"name": "npmTask",
|
||||
"suppressTaskName": true,
|
||||
"command": "npm",
|
||||
"isShellCommand": true,
|
||||
"args": ["run"],
|
||||
"tasks": [
|
||||
{
|
||||
//Build Task
|
||||
"taskName": "webpack",
|
||||
//Run On Shift+Ctrl+B
|
||||
"isBuildCommand": true,
|
||||
//Don't run when Shift+Ctrl+T
|
||||
"isTestCommand": false,
|
||||
// Show the output window if error any
|
||||
"showOutput": "silent",
|
||||
//Npm Task Name
|
||||
"args": ["webpack"],
|
||||
"problemMatcher": [
|
||||
{
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": ".",
|
||||
"file": 1,
|
||||
"location": 2,
|
||||
"message": 3
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": ".",
|
||||
"endsPattern": "."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
//Test Task
|
||||
"taskName": "mocha",
|
||||
// Don't run on Shift+Ctrl+B
|
||||
"isBuildCommand": false,
|
||||
// Run on Shift+Ctrl+T
|
||||
"isTestCommand": true,
|
||||
"showOutput": "always",
|
||||
"args": ["compile"]
|
||||
}
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче