package.json 2.8 KB

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