package.json 4.2 KB

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