Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

46 lignes
1.3 KiB

il y a 8 ans
  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": true,
  13. "reveal": "always",
  14. "focus": false,
  15. "panel": "shared"
  16. },
  17. "tasks": [
  18. {
  19. "label": "compile",
  20. "type": "npm",
  21. "script": "compile",
  22. "group": "build",
  23. "problemMatcher": [
  24. "$tsc",
  25. {
  26. "base": "$tslint5",
  27. "fileLocation": "relative"
  28. }
  29. ]
  30. },
  31. {
  32. "type": "npm",
  33. "script": "lint",
  34. "problemMatcher": {
  35. "base": "$tslint5",
  36. "fileLocation": "relative"
  37. }
  38. },
  39. {
  40. "type": "npm",
  41. "script": "watch",
  42. "isBackground": true,
  43. "problemMatcher": "$tsc-watch"
  44. }
  45. ]
  46. }