選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

70 行
2.2 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": 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-webpack", "$tslint-webpack"]
  24. },
  25. {
  26. "type": "npm",
  27. "script": "lint",
  28. "group": "build",
  29. "problemMatcher": ["$tslint5"]
  30. },
  31. {
  32. "type": "npm",
  33. "script": "watch",
  34. "group": {
  35. "kind": "build",
  36. "isDefault": true
  37. },
  38. "isBackground": true,
  39. "problemMatcher": [
  40. {
  41. "base": "$ts-webpack-watch",
  42. "applyTo": "closedDocuments",
  43. "fileLocation": "absolute",
  44. "background": {
  45. "activeOnStart": true,
  46. "beginsPattern": {
  47. "regexp": "Child extension:"
  48. },
  49. "endsPattern": {
  50. "regexp": "Built at: .*"
  51. }
  52. }
  53. },
  54. {
  55. "base": "$tslint-webpack-watch",
  56. "applyTo": "closedDocuments",
  57. "background": {
  58. "activeOnStart": true,
  59. "beginsPattern": {
  60. "regexp": "Child extension:"
  61. },
  62. "endsPattern": {
  63. "regexp": "Built at: .*"
  64. }
  65. }
  66. }
  67. ]
  68. }
  69. ]
  70. }