package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "oberon-language",
  3. "displayName": "Oberon Language Support",
  4. "version": "0.1.5",
  5. "publisher": "modula2",
  6. "license": "MIT",
  7. "engines": {
  8. "vscode": "^1.90.0"
  9. },
  10. "categories": [
  11. "Programming Languages"
  12. ],
  13. "activationEvents": [
  14. "onLanguage:oberon"
  15. ],
  16. "main": "./out/extension.js",
  17. "contributes": {
  18. "languages": [
  19. {
  20. "id": "oberon",
  21. "aliases": [
  22. "Oberon",
  23. "oberon"
  24. ],
  25. "extensions": [
  26. ".Mod",
  27. ".mod",
  28. ".def"
  29. ],
  30. "configuration": "./language-configuration.json"
  31. }
  32. ],
  33. "configuration": {
  34. "title": "Oberon",
  35. "properties": {
  36. "modula2.oberon.dialect": {
  37. "type": "string",
  38. "enum": [
  39. "oberon07",
  40. "oberon2",
  41. "ulm"
  42. ],
  43. "default": "oberon2",
  44. "description": "Oberon dialect used to validate Oberon files. Builds: grammars/Oberon07/build/O07, Oberon2/build/O2, Ulm/build/Ulm."
  45. },
  46. "modula2.oberon.validators": {
  47. "type": "object",
  48. "default": {},
  49. "description": "Validator command per Oberon dialect, e.g. {\"oberon2\": \"/path/to/O2\"}. Each command receives the temporary source file as its single argument."
  50. }
  51. }
  52. }
  53. },
  54. "scripts": {
  55. "clean": "rimraf out",
  56. "build": "tsc -p tsconfig.json",
  57. "prepare": "yarn build",
  58. "watch": "tsc -p tsconfig.json --watch"
  59. },
  60. "devDependencies": {
  61. "@types/node": "^24.0.0",
  62. "@types/vscode": "^1.90.0",
  63. "rimraf": "^6.0.1",
  64. "typescript": "^5.9.2"
  65. },
  66. "dependencies": {
  67. "vscode-languageclient": "^9.0.1",
  68. "vscode-languageserver": "^9.0.1",
  69. "vscode-languageserver-textdocument": "^1.0.11"
  70. },
  71. "description": "Oberon language support with Coco/R dialect validators (Oberon-07, Oberon-2, Ulm-Oberon)."
  72. }