mirror of
https://github.com/hanzoai/desktop.git
synced 2026-10-30 14:58:42 +00:00
31 lines
879 B
JSON
31 lines
879 B
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "ui:dev",
|
|
"type": "shell",
|
|
// `dev` keeps running in the background
|
|
// ideally you should also configure a `problemMatcher`
|
|
// see https://code.visualstudio.com/docs/editor/tasks#_can-a-background-task-be-used-as-a-prelaunchtask-in-launchjson
|
|
"isBackground": true,
|
|
// change this to your `beforeDevCommand`:
|
|
"command": "npm",
|
|
"options": {
|
|
"cwd": "./apps/hanzo-desktop"
|
|
},
|
|
"args": ["run", "dev"],
|
|
},
|
|
{
|
|
"label": "ui:build",
|
|
"type": "shell",
|
|
// change this to your `beforeBuildCommand`:
|
|
"options": {
|
|
"cwd": "./apps/hanzo-desktop"
|
|
},
|
|
"command": "npm",
|
|
"args": ["run", "build"]
|
|
}
|
|
]
|
|
} |