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.

34 lignes
1.1 KiB

il y a 8 ans
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. "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. }