tasks.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. // See https://go.microsoft.com/fwlink/?LinkId=733558
  3. // for the documentation about the tasks.json format
  4. "version": "2.0.0",
  5. "tasks": [
  6. {
  7. "label": "open preview",
  8. "type": "shell",
  9. "command": "gp preview $(gp url 8080)",
  10. "group": "test",
  11. "presentation": {
  12. "reveal": "never",
  13. "panel": "shared"
  14. },
  15. "problemMatcher": []
  16. },
  17. {
  18. "label": "launch server",
  19. "type": "shell",
  20. "command": "npx browser-sync start --server build --files build --port 8080 --no-ui --no-notify --open \"gp preview $(gp url 8080)\"",
  21. "group": "none",
  22. "presentation": {
  23. "reveal": "never",
  24. "panel": "shared"
  25. },
  26. "problemMatcher": []
  27. },
  28. {
  29. "label": "install Deno",
  30. "type": "shell",
  31. "command": "make deno",
  32. "group": "none",
  33. "presentation": {
  34. "reveal": "silent",
  35. "panel": "shared"
  36. },
  37. "problemMatcher": []
  38. },
  39. {
  40. "label": "generate static site",
  41. "type": "shell",
  42. "command": "make",
  43. "group": "build",
  44. "presentation": {
  45. "reveal": "silent",
  46. "panel": "shared"
  47. },
  48. "problemMatcher": []
  49. }
  50. ]
  51. }