package.json 2.3 KB

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