mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 23:49:33 +01:00
this adds recommended extensions, a vscode workspace config, workspace settings & launch configs for mobile & web apps.
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"command": "npm run debug",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"dependsOn": "Terminate All Tasks",
|
|
"isBackground": true, //This prevents the launch.json to wait for the completion of the task
|
|
"problemMatcher": {
|
|
"fileLocation": "relative",
|
|
"owner": "custom", //This is not needed but, required by the problemMatcher Object
|
|
"pattern": {
|
|
"regexp": "^$" //This is not needed but, required by the problemMatcher Object
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "^$",
|
|
"endsPattern": "^You can now view (.*) in the browser.$"
|
|
}
|
|
},
|
|
"label": "Start Notesnook (web)"
|
|
},
|
|
{
|
|
"label": "Terminate All Tasks",
|
|
"command": "echo ${input:terminate}",
|
|
"type": "shell",
|
|
"problemMatcher": []
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "terminate",
|
|
"type": "command",
|
|
"command": "workbench.action.tasks.terminate",
|
|
"args": "terminateAll"
|
|
}
|
|
]
|
|
}
|