mirror of
https://github.com/PawanOsman/ChatGPT.git
synced 2026-07-18 08:05:57 +02:00
72cbd0b120
- Created .vscode/extensions.json to recommend essential extensions. - Added .vscode/launch.json for launch configurations to run the extension. - Introduced .vscode/settings.json to customize workspace settings, including file exclusion. - Implemented .vscode/tasks.json to define build and watch tasks for TypeScript and esbuild.
80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "watch",
|
|
"dependsOn": [
|
|
"npm: watch:tsc",
|
|
"npm: watch:esbuild"
|
|
],
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "watch:esbuild",
|
|
"group": "build",
|
|
"problemMatcher": {
|
|
"owner": "esbuild",
|
|
"fileLocation": "absolute",
|
|
"pattern": {
|
|
"regexp": "^✘ \\[ERROR\\] (.+)\\n\\n\\s+(.+):(\\d+):(\\d+):$",
|
|
"message": 1,
|
|
"file": 2,
|
|
"line": 3,
|
|
"column": 4
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "\\[watch\\] build started",
|
|
"endsPattern": "\\[watch\\] build finished"
|
|
}
|
|
},
|
|
"isBackground": true,
|
|
"label": "npm: watch:esbuild",
|
|
"presentation": {
|
|
"group": "watch",
|
|
"reveal": "never"
|
|
}
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "watch:tsc",
|
|
"group": "build",
|
|
"problemMatcher": "$tsc-watch",
|
|
"isBackground": true,
|
|
"label": "npm: watch:tsc",
|
|
"presentation": {
|
|
"group": "watch",
|
|
"reveal": "never"
|
|
}
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "watch-tests",
|
|
"problemMatcher": "$tsc-watch",
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"reveal": "never",
|
|
"group": "watchers"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "tasks: watch-tests",
|
|
"dependsOn": [
|
|
"npm: watch",
|
|
"npm: watch-tests"
|
|
],
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|