package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. "lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet",
  28. "pretty": "prettier --write ."
  29. },
  30. "dependencies": {
  31. "@jpwilliams/waitgroup": "1.0.1",
  32. "vscode-debugadapter": "^1.42.1",
  33. "promise-socket": "^7.0.0",
  34. "readline-promise": "^1.0.4",
  35. "async-lock": "^1.2.4"
  36. },
  37. "devDependencies": {
  38. "@types/node": "^14.14.2",
  39. "@types/vscode": "^1.50.0",
  40. "@typescript-eslint/eslint-plugin": "^4.5.0",
  41. "@typescript-eslint/parser": "^4.5.0",
  42. "eslint": "^7.12.0",
  43. "eslint-config-standard": "^15.0.0",
  44. "eslint-plugin-import": "^2.22.1",
  45. "eslint-plugin-node": "^11.1.0",
  46. "eslint-plugin-promise": "^4.2.1",
  47. "eslint-plugin-standard": "^4.0.2",
  48. "prettier": "2.1.2",
  49. "typescript": "^4.0.3",
  50. "vsce": "^1.81.1"
  51. },
  52. "main": "./out/extension.js",
  53. "activationEvents": [
  54. "onDebug"
  55. ],
  56. "contributes": {
  57. "languages": [
  58. {
  59. "id": "ecal",
  60. "aliases": [
  61. "Event Condition Action Language",
  62. "ecal"
  63. ],
  64. "extensions": [
  65. ".ecal"
  66. ],
  67. "configuration": "./language-configuration.json"
  68. }
  69. ],
  70. "grammars": [
  71. {
  72. "language": "ecal",
  73. "scopeName": "source.ecal",
  74. "path": "./syntaxes/ecal.tmLanguage.json"
  75. }
  76. ],
  77. "breakpoints": [
  78. {
  79. "language": "ecal"
  80. }
  81. ],
  82. "debuggers": [
  83. {
  84. "type": "ecaldebug",
  85. "label": "ECAL Debug",
  86. "program": "./out/ecalDebugAdapter.js",
  87. "runtime": "node",
  88. "configurationAttributes": {
  89. "launch": {
  90. "required": [
  91. "host",
  92. "port",
  93. "dir"
  94. ],
  95. "properties": {
  96. "host": {
  97. "type": "string",
  98. "description": "Host of the ECAL debug server.",
  99. "default": "localhost:43806"
  100. },
  101. "port": {
  102. "type": "number",
  103. "description": "Port of the ECAL debug server.",
  104. "default": "localhost:43806"
  105. },
  106. "dir": {
  107. "type": "string",
  108. "description": "Root directory for ECAL debug server.",
  109. "default": "${workspaceFolder}"
  110. },
  111. "executeOnEntry": {
  112. "type": "boolean",
  113. "description": "Execute the current edited ECAL script on entry. If this is set to false then code needs to be manually started from the ECAL debug server console.",
  114. "default": true
  115. },
  116. "trace": {
  117. "type": "boolean",
  118. "description": "Enable logging of the Debug Adapter Protocol.",
  119. "default": false
  120. }
  121. }
  122. }
  123. },
  124. "initialConfigurations": [
  125. {
  126. "type": "ecaldebug",
  127. "request": "launch",
  128. "name": "Debug ECAL script with ECAL Debug Server",
  129. "host": "localhost",
  130. "port": 33274,
  131. "dir": "${workspaceFolder}",
  132. "executeOnEntry": true
  133. }
  134. ]
  135. }
  136. ]
  137. }
  138. }