Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

96 řádky
2.1 KiB

  1. // Available variables which can be used inside of strings.
  2. // ${workspaceRoot}: the root folder of the team
  3. // ${file}: the current opened file
  4. // ${fileBasename}: the current opened file's basename
  5. // ${fileDirname}: the current opened file's dirname
  6. // ${fileExtname}: the current opened file's extension
  7. // ${cwd}: the current working directory of the spawned process
  8. // A task runner that calls a custom npm script that compiles the extension.
  9. {
  10. "version": "2.0.0",
  11. "presentation": {
  12. "echo": false,
  13. "reveal": "always",
  14. "focus": false,
  15. "panel": "dedicated",
  16. "showReuseMessage": false
  17. },
  18. "tasks": [
  19. {
  20. "type": "npm",
  21. "script": "build",
  22. "group": "build",
  23. "problemMatcher": ["$ts-checker-webpack", "$ts-checker-eslint-webpack"]
  24. },
  25. {
  26. "type": "npm",
  27. "script": "lint",
  28. "group": "build",
  29. "problemMatcher": ["$eslint-stylish"]
  30. },
  31. {
  32. "type": "npm",
  33. "script": "watch",
  34. "group": {
  35. "kind": "build",
  36. "isDefault": true
  37. },
  38. "isBackground": true,
  39. "presentation": {
  40. "group": "watchers"
  41. },
  42. "problemMatcher": ["$ts-checker-webpack-watch", "$ts-checker-eslint-webpack-watch"]
  43. },
  44. {
  45. "label": "Run (local web)",
  46. "type": "npm",
  47. "script": "web",
  48. "group": "test",
  49. "isBackground": true,
  50. "presentation": {
  51. "group": "web",
  52. "reveal": "never"
  53. },
  54. "problemMatcher": []
  55. },
  56. {
  57. "label": "Run (vscode.dev)",
  58. "group": "test",
  59. "dependsOn": ["npm: web:serve", "npm: web:tunnel"],
  60. "dependsOrder": "parallel",
  61. "problemMatcher": []
  62. },
  63. {
  64. "type": "npm",
  65. "script": "web:serve",
  66. "group": "test",
  67. "isBackground": true,
  68. "presentation": {
  69. "group": "web",
  70. "reveal": "never"
  71. },
  72. "problemMatcher": []
  73. },
  74. {
  75. "type": "npm",
  76. "script": "web:tunnel",
  77. "group": "test",
  78. "isBackground": true,
  79. "presentation": {
  80. "group": "web",
  81. "reveal": "always"
  82. },
  83. "problemMatcher": []
  84. },
  85. {
  86. "type": "npm",
  87. "script": "watch:tests",
  88. "group": "build",
  89. "isBackground": true,
  90. "presentation": {
  91. "group": "watchers"
  92. },
  93. "problemMatcher": "$tsc-watch" //["$ts-checker-webpack-watch", "$ts-checker-eslint-webpack-watch"]
  94. }
  95. ]
  96. }