Update scripts for the use in workspace

This commit is contained in:
Manuel Thalmann 2022-12-14 09:19:24 +01:00
parent 7e2d7c0234
commit 6b62422903
No known key found for this signature in database
GPG key ID: 5FD9AD3CCDDBD27B

View file

@ -33,8 +33,15 @@
"tasks": [ "tasks": [
{ {
"label": "Build", "label": "Build",
"type": "npm", "type": "shell",
"script": "watch", "options": {
"cwd": "${workspaceFolder:Solution Items}"
},
"command": "npm",
"args": [
"run",
"watch"
],
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
@ -63,8 +70,15 @@
}, },
{ {
"label": "Rebuild", "label": "Rebuild",
"type": "npm", "type": "shell",
"script": "rebuild", "options": {
"cwd": "${workspaceFolder:Solution Items}"
},
"command": "npm",
"args": [
"run",
"rebuild"
],
"problemMatcher": [], "problemMatcher": [],
"presentation": { "presentation": {
"reveal": "never" "reveal": "never"
@ -72,8 +86,15 @@
}, },
{ {
"label": "Lint", "label": "Lint",
"type": "npm", "type": "shell",
"script": "lint-ide", "options": {
"cwd": "${workspaceFolder:Solution Items}"
},
"command": "npm",
"args": [
"run",
"lint-ide"
],
"problemMatcher": "$eslint-stylish", "problemMatcher": "$eslint-stylish",
"presentation": { "presentation": {
"reveal": "never" "reveal": "never"