Commit 07297ab8 authored by tom's avatar tom

more tasks for vscode

parent c7f8c889
...@@ -23,10 +23,30 @@ ...@@ -23,10 +23,30 @@
"instanceLimit": 1 "instanceLimit": 1
} }
}, },
{
"type": "npm",
"script": "dev:poa_core",
"problemMatcher": [],
"label": "dev server: poa",
"detail": "start local dev server for POA network",
"presentation": {
"reveal": "silent",
"panel": "new",
"close": true,
"revealProblems": "onProblem",
},
"icon": {
"color": "terminal.ansiMagenta",
"id": "server-process"
},
"runOptions": {
"instanceLimit": 1
}
},
{ {
"type": "typescript", "type": "typescript",
"label": "tsc build", "label": "tsc build",
"detail": "run ts typechecking", "detail": "compile typescript",
"tsconfig": "tsconfig.json", "tsconfig": "tsconfig.json",
"problemMatcher": [ "problemMatcher": [
"$tsc" "$tsc"
...@@ -42,6 +62,106 @@ ...@@ -42,6 +62,106 @@
"revealProblems": "onProblem", "revealProblems": "onProblem",
}, },
"group": "build", "group": "build",
} },
{
"type": "npm",
"script": "lint:eslint",
"problemMatcher": [],
"label": "eslint",
"detail": "run eslint",
"presentation": {
"reveal": "silent",
"panel": "new",
"close": true,
"revealProblems": "onProblem",
},
"icon": {
"color": "terminal.ansiYellow",
"id": "zap"
},
"runOptions": {
"instanceLimit": 1
}
},
{
"type": "npm",
"script": "test-docker",
"problemMatcher": [],
"label": "test: playwright",
"detail": "run visual components tests",
"presentation": {
"reveal": "silent",
"panel": "new",
"close": true,
"revealProblems": "onProblem",
},
"icon": {
"color": "terminal.ansiBlue",
"id": "beaker"
},
"runOptions": {
"instanceLimit": 1
}
},
{
"type": "npm",
"script": "build:docker",
"problemMatcher": [],
"label": "docker: build",
"detail": "build docker image",
"presentation": {
"reveal": "silent",
"panel": "new",
"close": true,
"revealProblems": "onProblem",
},
"icon": {
"color": "terminal.ansiRed",
"id": "symbol-structure"
},
"runOptions": {
"instanceLimit": 1
}
},
{
"type": "npm",
"script": "start:docker:poa_core",
"problemMatcher": [],
"label": "docker: run poa",
"detail": "run docker container for POA network",
"presentation": {
"reveal": "silent",
"panel": "new",
"close": true,
"revealProblems": "onProblem",
},
"icon": {
"color": "terminal.ansiRed",
"id": "browser"
},
"runOptions": {
"instanceLimit": 1
}
},
{
"type": "npm",
"script": "format-svg",
"problemMatcher": [],
"label": "format svg",
"detail": "format svg files with svgo",
"presentation": {
"reveal": "silent",
"panel": "new",
"close": true,
"revealProblems": "onProblem",
},
"icon": {
"color": "terminal.ansiCyan",
"id": "combine"
},
"runOptions": {
"instanceLimit": 1
}
},
] ]
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment