package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "ecal-support",
  3. "displayName": "ECAL Support",
  4. "version": "0.9.1",
  5. "publisher": "krotik",
  6. "description": "Extension to support the development of ECAL scripts in VS Code.",
  7. "author": {
  8. "name": "Matthias Ladkau",
  9. "email": "github@ladkau.de"
  10. },
  11. "license": "MIT",
  12. "engines": {
  13. "vscode": "^1.50.0"
  14. },
  15. "icon": "images/logo.png",
  16. "categories": [
  17. "Programming Languages"
  18. ],
  19. "repository": {
  20. "type": "git",
  21. "url": "https://devt.de/krotik/ecal.git"
  22. },
  23. "scripts": {
  24. "compile": "tsc",
  25. "watch": "tsc -w",
  26. "package": "vsce package"
  27. },
  28. "dependencies": {
  29. "@jpwilliams/waitgroup": "1.0.1",
  30. "vscode-debugadapter": "^1.42.1"
  31. },
  32. "devDependencies": {
  33. "@types/vscode": "^1.50.0",
  34. "@types/node": "^14.14.2",
  35. "vsce": "^1.81.1",
  36. "typescript": "^4.0.3"
  37. },
  38. "main": "./out/extension.js",
  39. "activationEvents": [
  40. "onDebug"
  41. ],
  42. "contributes": {
  43. "languages": [
  44. {
  45. "id": "ecal",
  46. "aliases": [
  47. "Event Condition Action Language",
  48. "ecal"
  49. ],
  50. "extensions": [
  51. ".ecal"
  52. ],
  53. "configuration": "./language-configuration.json"
  54. }
  55. ],
  56. "grammars": [
  57. {
  58. "language": "ecal",
  59. "scopeName": "source.ecal",
  60. "path": "./syntaxes/ecal.tmLanguage.json"
  61. }
  62. ],
  63. "breakpoints": [
  64. {
  65. "language": "ecal"
  66. }
  67. ],
  68. "debuggers": [
  69. {
  70. "type": "ecaldebug",
  71. "label": "ECAL Debug",
  72. "program": "./out/ecalDebugAdapter.js",
  73. "runtime": "node",
  74. "configurationAttributes": {
  75. "launch": {
  76. "required": [
  77. "serverURL", "dir"
  78. ],
  79. "properties": {
  80. "serverURL": {
  81. "type": "string",
  82. "description": "URL of the ECAL debug server.",
  83. "default": "localhost:43806"
  84. },
  85. "dir": {
  86. "type": "string",
  87. "description": "Root directory for ECAL debug server.",
  88. "default": "${workspaceFolder}"
  89. },
  90. "executeOnEntry": {
  91. "type": "boolean",
  92. "description": "Execute the ECAL script on entry. If this is set to false then code needs to be manually started from the ECAL debug server console.",
  93. "default": true
  94. },
  95. "trace": {
  96. "type": "boolean",
  97. "description": "Enable logging of the Debug Adapter Protocol.",
  98. "default": false
  99. }
  100. }
  101. }
  102. },
  103. "initialConfigurations": [
  104. {
  105. "type": "ecaldebug",
  106. "request": "launch",
  107. "name": "Debug ECAL script with ECAL Debug Server",
  108. "serverURL": "localhost:43806",
  109. "dir": "${workspaceFolder}",
  110. "executeOnEntry": true,
  111. "trace": false
  112. }
  113. ]
  114. }
  115. ]
  116. }
  117. }