decky-plugin-template/.vscode/tasks.json

94 lines
2.4 KiB
JSON
Raw Normal View History

{
"version": "2.0.0",
"tasks": [
{
"label": "pnpmsetup",
"type": "shell",
"group": "build",
"detail": "Setup pnpm",
"command": "pnpm i",
"problemMatcher": []
},
{
"label": "updatefrontendlib",
"type": "shell",
"group": "build",
"detail": "Update deck-frontend-lib",
"command": "pnpm update decky-frontend-lib --latest",
"problemMatcher": []
},
2023-02-17 20:31:32 +00:00
// BUILD
{
"label": "build",
"type": "npm",
"group": "build",
"detail": "rollup -c",
"script": "build",
"path": "",
2023-02-17 20:31:32 +00:00
"dependsOrder": "sequence",
"dependsOn": [
"pnpmsetup"
],
2022-06-16 14:59:43 -07:00
"problemMatcher": []
},
2023-02-17 20:31:32 +00:00
{
"label": "build-dev",
"type": "npm",
"group": "build",
2023-02-17 20:31:32 +00:00
"detail": "rollup -c",
"script": "dev",
"path": "",
"dependsOrder": "sequence",
"dependsOn": [
2023-02-17 20:31:32 +00:00
"pnpmsetup"
2022-06-16 14:59:43 -07:00
],
"problemMatcher": []
2022-06-16 12:15:06 -07:00
},
// DEPLOY
{
2023-02-17 20:31:32 +00:00
"label": "deploy",
"detail": "Deploy plugin to deck",
2022-06-16 12:15:06 -07:00
"type": "shell",
"group": "none",
"dependsOn": [
2023-02-17 20:31:32 +00:00
"pnpmsetup"
2022-06-16 12:15:06 -07:00
],
2023-02-17 20:31:32 +00:00
"command": "pnpm start -r",
2022-06-16 12:15:06 -07:00
"problemMatcher": []
},
2023-02-17 20:31:32 +00:00
{
"label": "deploy-dev",
2022-06-16 12:15:06 -07:00
"detail": "Deploy dev plugin to deck",
"type": "shell",
"group": "none",
"dependsOn": [
2023-02-17 20:31:32 +00:00
"pnpmsetup"
2022-06-16 12:15:06 -07:00
],
2023-02-17 20:31:32 +00:00
"command": "pnpm start -r -d",
2022-06-16 12:47:53 -07:00
"problemMatcher": []
},
2023-02-17 20:31:32 +00:00
// PACKAGE
2022-06-16 12:47:53 -07:00
{
2023-02-17 20:31:32 +00:00
"label": "package",
"detail": "Package plugin to zip",
2022-06-16 12:47:53 -07:00
"type": "shell",
"group": "none",
2022-06-16 12:15:06 -07:00
"dependsOn": [
2023-02-17 20:31:32 +00:00
"pnpmsetup"
2022-06-16 14:59:43 -07:00
],
2023-02-17 20:31:32 +00:00
"command": "pnpm package",
2022-06-16 14:59:43 -07:00
"problemMatcher": []
2022-06-16 12:15:06 -07:00
},
2023-02-17 20:31:32 +00:00
{
"label": "package-dev",
"detail": "Package dev plugin to zip",
"type": "shell",
"group": "none",
2022-06-16 12:15:06 -07:00
"dependsOn": [
2023-02-17 20:31:32 +00:00
"pnpmsetup"
2022-06-16 14:59:43 -07:00
],
2023-02-17 20:31:32 +00:00
"command": "pnpm package -d",
2022-06-16 14:59:43 -07:00
"problemMatcher": []
}
]
}