2021-02-14 18:23:21 +03:00
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2021-05-12 12:53:00 +03:00
|
|
|
{
|
|
|
|
"label": "Build",
|
|
|
|
"dependsOn": ["ESBuild", "TSBuild"],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "ESBuild",
|
|
|
|
"type": "npm",
|
|
|
|
"script": "esbuild",
|
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never"
|
|
|
|
},
|
|
|
|
"group": "build"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "TSBuild",
|
|
|
|
"type": "npm",
|
|
|
|
"script": "compile",
|
|
|
|
"problemMatcher": "$tsc-watch",
|
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never"
|
|
|
|
},
|
|
|
|
"group": "build"
|
|
|
|
},
|
2021-02-14 18:23:21 +03:00
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "watch",
|
|
|
|
"problemMatcher": "$tsc-watch",
|
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never"
|
|
|
|
},
|
2021-05-12 12:53:00 +03:00
|
|
|
"group": "build"
|
2022-09-15 18:31:10 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Serve cursorless.org",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "nx serve cursorless-org",
|
|
|
|
"options": {
|
|
|
|
"cwd": "cursorless-nx"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2022-10-11 01:07:44 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Install local",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "vsce package -o bundle.vsix && code --install-extension bundle.vsix",
|
|
|
|
"presentation": {
|
|
|
|
"focus": true
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Run pre commit",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "pre-commit run",
|
|
|
|
"presentation": {}
|
2021-02-14 18:23:21 +03:00
|
|
|
}
|
|
|
|
]
|
2021-05-12 12:53:00 +03:00
|
|
|
}
|