Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

34 linhas
1.1 KiB

8 anos atrás
8 anos atrás
  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. "showOutput": "always",
  12. "tasks": [
  13. {
  14. "taskName": "compile",
  15. "command": "npm run compile",
  16. "isBuildCommand": true,
  17. "isShellCommand": true,
  18. "problemMatcher": [ "$tsc", "$tslint5" ]
  19. },
  20. {
  21. "taskName": "lint",
  22. "command": "npm run lint",
  23. "isShellCommand": true,
  24. "problemMatcher": "$tslint5"
  25. },
  26. {
  27. "taskName": "watch",
  28. "command": "npm run watch",
  29. "isBackground": true,
  30. "isShellCommand": true,
  31. "problemMatcher": "$tsc-watch"
  32. }
  33. ]
  34. }