You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 line
1.6 KiB

8 年之前
  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": "build",
  20. "type": "npm",
  21. "script": "build",
  22. "problemMatcher": [
  23. "$tsc",
  24. "$tslint5"
  25. ],
  26. "group": "build"
  27. },
  28. {
  29. "label": "lint",
  30. "type": "npm",
  31. "script": "lint",
  32. "problemMatcher": [
  33. "$tslint5"
  34. ],
  35. "group": "build"
  36. },
  37. {
  38. "label": "rebuild",
  39. "type": "npm",
  40. "script": "rebuild",
  41. "problemMatcher": [
  42. "$tsc",
  43. "$tslint5"
  44. ],
  45. "group": "build"
  46. },
  47. {
  48. "label": "watch",
  49. "type": "npm",
  50. "script": "watch",
  51. "isBackground": true,
  52. "problemMatcher": [
  53. "$tsc-watch"
  54. ],
  55. "group": {
  56. "kind": "build",
  57. "isDefault": true
  58. }
  59. }
  60. ]
  61. }