package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "private": true,
  3. "name": "modula2-ide-electron",
  4. "version": "0.45.0",
  5. "description": "GNU Modula-2 IDE built on Eclipse Theia",
  6. "homepage": "https://yojik.eu",
  7. "author": "Eric Streit <eric@yojik.eu>",
  8. "main": "electron-launcher.js",
  9. "desktopName": "eu.yojik.modula2-ide",
  10. "dependencies": {
  11. "@theia/core": "1.75.0",
  12. "@theia/debug": "1.75.0",
  13. "@theia/editor": "1.75.0",
  14. "@theia/electron": "1.75.0",
  15. "@theia/filesystem": "1.75.0",
  16. "@theia/markers": "1.75.0",
  17. "@theia/messages": "1.75.0",
  18. "@theia/monaco": "1.75.0",
  19. "@theia/navigator": "1.75.0",
  20. "@theia/outline-view": "1.75.0",
  21. "@theia/output": "1.75.0",
  22. "@theia/plugin-ext-vscode": "1.75.0",
  23. "@theia/preferences": "1.75.0",
  24. "@theia/process": "1.75.0",
  25. "@theia/terminal": "1.75.0",
  26. "@theia/workspace": "1.75.0",
  27. "modula2-compiler": "0.2.0",
  28. "modula2-debug": "0.1.0",
  29. "modula2-project": "0.1.0",
  30. "modula2-workbench": "0.1.0",
  31. "react": "^19.0.0",
  32. "react-dom": "^19.0.0",
  33. "pascal-compiler": "0.2.0",
  34. "pascal-debug": "0.1.0",
  35. "pascal-workbench": "0.1.0",
  36. "oberon-compiler": "0.2.0",
  37. "oberon-debug": "0.1.0",
  38. "oberon-workbench": "0.1.0"
  39. },
  40. "devDependencies": {
  41. "@theia/cli": "1.75.0",
  42. "@types/react": "^19.0.0",
  43. "@types/react-dom": "^19.0.0",
  44. "electron": "42.8.1",
  45. "electron-builder": "^26.15.3",
  46. "rimraf": "^6.0.1"
  47. },
  48. "scripts": {
  49. "clean": "rimraf src-gen",
  50. "rebuild": "theia rebuild:electron --cacheRoot ../..",
  51. "bundle": "yarn rebuild && theia build --mode development",
  52. "bundle:prod": "yarn rebuild && theia build --mode production",
  53. "sync-plugins": "rm -rf plugins && mkdir -p plugins && cp -a ../../plugins/modula2-language plugins/modula2-language && rm -rf plugins/modula2-language/src && npm install --omit=dev --no-audit --no-fund --ignore-scripts --prefix plugins/modula2-language",
  54. "start": "theia start --plugins=local-dir:../../plugins",
  55. "watch": "yarn rebuild && theia build --watch --mode development",
  56. "package": "yarn bundle:prod && yarn sync-plugins && electron-builder --linux AppImage deb --publish never"
  57. },
  58. "build": {
  59. "appId": "eu.yojik.modula2-ide",
  60. "productName": "Modula-2 IDE",
  61. "icon": "assets/icon.png",
  62. "files": [
  63. "electron-launcher.js",
  64. "lib/**",
  65. "src-gen/frontend/**",
  66. "package.json"
  67. ],
  68. "extraResources": [
  69. "plugins",
  70. {
  71. "from": "../../extensions/modula2-debug/lib/adapter",
  72. "to": "adapter"
  73. },
  74. {
  75. "from": "../../extensions/pascal-debug/lib/adapter",
  76. "to": "adapter-pascal"
  77. },
  78. {
  79. "from": "../../extensions/oberon-debug/lib/adapter",
  80. "to": "adapter-oberon"
  81. }
  82. ],
  83. "linux": {
  84. "target": [
  85. "AppImage",
  86. "deb"
  87. ],
  88. "category": "Development",
  89. "maintainer": "Eric Streit <eric@yojik.eu>",
  90. "description": "GNU Modula-2 IDE built on Eclipse Theia",
  91. "syncDesktopName": true
  92. },
  93. "deb": {
  94. "depends": [
  95. "libgtk-3-0",
  96. "libnotify4",
  97. "libnss3",
  98. "libxss1",
  99. "libxtst6",
  100. "xdg-utils",
  101. "libatspi2.0-0",
  102. "libuuid1"
  103. ]
  104. },
  105. "publish": null
  106. },
  107. "theia": {
  108. "target": "electron"
  109. }
  110. }