tasks.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // See https://go.microsoft.com/fwlink/?LinkId=733558
  2. // for the documentation about the tasks.json format
  3. {
  4. "version": "2.0.0",
  5. "tasks": [
  6. {
  7. "label": "compile",
  8. "type": "npm",
  9. "script": "compile",
  10. "dependsOn": ["npm: build:webview"],
  11. "group": {
  12. "kind": "build",
  13. "isDefault": true
  14. },
  15. "presentation": {
  16. "reveal": "silent",
  17. "panel": "shared"
  18. },
  19. "problemMatcher": ["$tsc", "$eslint-stylish"]
  20. },
  21. {
  22. "label": "watch",
  23. "dependsOn": ["npm: build:webview", "npm: watch:tsc", "npm: watch:esbuild"],
  24. "presentation": {
  25. "reveal": "never"
  26. },
  27. "group": {
  28. "kind": "build",
  29. "isDefault": false
  30. }
  31. },
  32. {
  33. "type": "npm",
  34. "script": "build:webview",
  35. "group": "build",
  36. "problemMatcher": [],
  37. "isBackground": true,
  38. "label": "npm: build:webview",
  39. "presentation": {
  40. "group": "watch",
  41. "reveal": "never"
  42. }
  43. },
  44. {
  45. "type": "npm",
  46. "script": "watch:esbuild",
  47. "group": "build",
  48. "problemMatcher": "$esbuild-watch",
  49. "isBackground": true,
  50. "label": "npm: watch:esbuild",
  51. "presentation": {
  52. "group": "watch",
  53. "reveal": "never"
  54. }
  55. },
  56. {
  57. "type": "npm",
  58. "script": "watch:tsc",
  59. "group": "build",
  60. "problemMatcher": "$tsc-watch",
  61. "isBackground": true,
  62. "label": "npm: watch:tsc",
  63. "presentation": {
  64. "group": "watch",
  65. "reveal": "never"
  66. }
  67. },
  68. {
  69. "type": "npm",
  70. "script": "watch-tests",
  71. "problemMatcher": "$tsc-watch",
  72. "isBackground": true,
  73. "presentation": {
  74. "reveal": "never",
  75. "group": "watchers"
  76. },
  77. "group": "build"
  78. },
  79. {
  80. "label": "tasks: watch-tests",
  81. "dependsOn": ["npm: watch", "npm: watch-tests"],
  82. "problemMatcher": []
  83. }
  84. ]
  85. }