package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. ".om",
  30. ".od"
  31. ],
  32. "configuration": "./language-configuration.json"
  33. }
  34. ],
  35. "configuration": {
  36. "title": "Oberon",
  37. "properties": {
  38. "modula2.oberon.dialect": {
  39. "type": "string",
  40. "enum": [
  41. "oberon07",
  42. "oberon2",
  43. "ulm"
  44. ],
  45. "default": "oberon2",
  46. "description": "Oberon dialect used to validate Oberon files. Builds: grammars/Oberon07/build/O07, Oberon2/build/O2, Ulm/build/Ulm."
  47. },
  48. "modula2.oberon.validators": {
  49. "type": "object",
  50. "default": {},
  51. "description": "Validator command per Oberon dialect, e.g. {\"oberon2\": \"/path/to/O2\"}. Each command receives the temporary source file as its single argument."
  52. }
  53. }
  54. }
  55. },
  56. "scripts": {
  57. "clean": "rimraf out",
  58. "build": "tsc -p tsconfig.json",
  59. "prepare": "yarn build",
  60. "watch": "tsc -p tsconfig.json --watch"
  61. },
  62. "devDependencies": {
  63. "@types/node": "^24.0.0",
  64. "@types/vscode": "^1.90.0",
  65. "rimraf": "^6.0.1",
  66. "typescript": "^5.9.2"
  67. },
  68. "dependencies": {
  69. "vscode-languageclient": "^9.0.1",
  70. "vscode-languageserver": "^9.0.1",
  71. "vscode-languageserver-textdocument": "^1.0.11"
  72. },
  73. "description": "Oberon language support with Coco/R dialect validators (Oberon-07, Oberon-2, Ulm-Oberon)."
  74. }