package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "private": true,
  3. "name": "modula2-ide-electron",
  4. "version": "0.47.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/bulk-edit": "1.77.0-next.47",
  12. "@theia/callhierarchy": "1.77.0-next.47",
  13. "@theia/collaboration": "1.77.0-next.47",
  14. "@theia/console": "1.77.0-next.47",
  15. "@theia/core": "1.77.0-next.47",
  16. "@theia/debug": "1.77.0-next.47",
  17. "@theia/dev-container": "1.77.0-next.47",
  18. "@theia/editor": "1.77.0-next.47",
  19. "@theia/editor-preview": "1.77.0-next.47",
  20. "@theia/external-api": "1.77.0-next.47",
  21. "@theia/external-terminal": "1.77.0-next.47",
  22. "@theia/file-search": "1.77.0-next.47",
  23. "@theia/filesystem": "1.77.0-next.47",
  24. "@theia/getting-started": "1.77.0-next.47",
  25. "@theia/keymaps": "1.77.0-next.47",
  26. "@theia/markers": "1.77.0-next.47",
  27. "@theia/memory-inspector": "1.77.0-next.47",
  28. "@theia/messages": "1.77.0-next.47",
  29. "@theia/mini-browser": "1.77.0-next.47",
  30. "@theia/monaco": "1.77.0-next.47",
  31. "@theia/navigator": "1.77.0-next.47",
  32. "@theia/notebook": "1.77.0-next.47",
  33. "@theia/outline-view": "1.77.0-next.47",
  34. "@theia/output": "1.77.0-next.47",
  35. "@theia/plugin-dev": "1.77.0-next.47",
  36. "@theia/plugin-ext": "1.77.0-next.47",
  37. "@theia/plugin-ext-vscode": "1.77.0-next.47",
  38. "@theia/preferences": "1.77.0-next.47",
  39. "@theia/process": "1.77.0-next.47",
  40. "@theia/property-view": "1.77.0-next.47",
  41. "@theia/remote": "1.77.0-next.47",
  42. "@theia/scanoss": "1.77.0-next.47",
  43. "@theia/scm": "1.77.0-next.47",
  44. "@theia/search-in-workspace": "1.77.0-next.47",
  45. "@theia/secondary-window": "1.77.0-next.47",
  46. "@theia/task": "1.77.0-next.47",
  47. "@theia/terminal": "1.77.0-next.47",
  48. "@theia/terminal-manager": "1.77.0-next.47",
  49. "@theia/test": "1.77.0-next.47",
  50. "@theia/timeline": "1.77.0-next.47",
  51. "@theia/toolbar": "1.77.0-next.47",
  52. "@theia/typehierarchy": "1.77.0-next.47",
  53. "@theia/userstorage": "1.77.0-next.47",
  54. "@theia/variable-resolver": "1.77.0-next.47",
  55. "@theia/vsx-registry": "1.77.0-next.47",
  56. "@theia/workspace": "1.77.0-next.47",
  57. "@theia/electron": "1.77.0-next.47",
  58. "@theia/remote-wsl": "1.77.0-next.47",
  59. "react": "^19.0.0",
  60. "react-dom": "^19.0.0",
  61. "modula2-compiler": "0.2.0",
  62. "modula2-debug": "0.1.0",
  63. "modula2-project": "0.1.0",
  64. "modula2-workbench": "0.1.0"
  65. },
  66. "devDependencies": {
  67. "@theia/cli": "1.77.0-next.47",
  68. "@types/react": "^19.0.0",
  69. "@types/react-dom": "^19.0.0",
  70. "electron": "44.4.5",
  71. "electron-builder": "^26.15.3",
  72. "rimraf": "^6.0.1"
  73. },
  74. "scripts": {
  75. "clean": "rimraf src-gen",
  76. "rebuild": "theia rebuild:electron --cacheRoot ../..",
  77. "bundle": "yarn rebuild && theia build --mode development",
  78. "bundle:prod": "yarn rebuild && theia build --mode production",
  79. "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",
  80. "start": "theia start --plugins=local-dir:../../plugins",
  81. "watch": "yarn rebuild && theia build --watch --mode development",
  82. "package": "yarn bundle:prod && yarn sync-plugins && electron-builder --linux AppImage deb --publish never"
  83. },
  84. "build": {
  85. "appId": "eu.yojik.modula2-ide",
  86. "productName": "Modula-2 IDE",
  87. "icon": "assets/icon.png",
  88. "files": [
  89. "electron-launcher.js",
  90. "lib/**",
  91. "src-gen/frontend/**",
  92. "package.json"
  93. ],
  94. "extraResources": [
  95. "plugins",
  96. {
  97. "from": "../../extensions/modula2-debug/lib/adapter",
  98. "to": "adapter"
  99. }
  100. ],
  101. "linux": {
  102. "target": [
  103. "AppImage",
  104. "deb"
  105. ],
  106. "category": "Development",
  107. "maintainer": "Eric Streit <eric@yojik.eu>",
  108. "description": "GNU Modula-2 IDE built on Eclipse Theia",
  109. "syncDesktopName": true
  110. },
  111. "deb": {
  112. "depends": [
  113. "libgtk-3-0",
  114. "libnotify4",
  115. "libnss3",
  116. "libxss1",
  117. "libxtst6",
  118. "xdg-utils",
  119. "libatspi2.0-0",
  120. "libuuid1"
  121. ]
  122. },
  123. "publish": null
  124. },
  125. "theia": {
  126. "target": "electron",
  127. "frontend": {
  128. "config": {
  129. "applicationName": "Modula-2 IDE",
  130. "reloadOnReconnect": true,
  131. "preferences": {
  132. "toolbar.showToolbar": true
  133. },
  134. "electron": {
  135. "appUserModelId": "eu.yojik.modula2-ide",
  136. "showWindowEarly": false
  137. }
  138. }
  139. },
  140. "backend": {
  141. "config": {
  142. "frontendConnectionTimeout": -1,
  143. "startupTimeout": -1,
  144. "resolveSystemPlugins": false
  145. }
  146. },
  147. "generator": {
  148. "config": {
  149. "preloadTemplate": "./resources/preload.html"
  150. }
  151. }
  152. }
  153. }