73 lines
1.5 KiB
JSON
73 lines
1.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "npm install",
|
|
"type": "shell",
|
|
"command": "npm",
|
|
"args": ["install"],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "npm run test",
|
|
"type": "shell",
|
|
"command": "npm",
|
|
"args": ["run", "test"],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "npm run test:headed",
|
|
"type": "shell",
|
|
"command": "npm",
|
|
"args": ["run", "test:headed"],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "install browsers",
|
|
"type": "shell",
|
|
"command": "npm",
|
|
"args": ["run", "install-browsers"],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "install and run",
|
|
"dependsOrder": "sequence",
|
|
"dependsOn": ["npm install", "npm run test"],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
}
|
|
]
|
|
} |