package.json 2.7 KB

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