|
|
@@ -1,8 +1,10 @@
|
|
|
{
|
|
|
"private": true,
|
|
|
"name": "modula2-ide-electron",
|
|
|
- "version": "0.1.0",
|
|
|
- "main": "lib/backend/electron-main.js",
|
|
|
+ "version": "0.12.0",
|
|
|
+ "description": "GNU Modula-2 IDE built on Eclipse Theia",
|
|
|
+ "author": "Eric Streit <eric@yojik.eu>",
|
|
|
+ "main": "electron-launcher.js",
|
|
|
"dependencies": {
|
|
|
"@theia/core": "1.75.0",
|
|
|
"@theia/debug": "1.75.0",
|
|
|
@@ -31,14 +33,36 @@
|
|
|
"@types/react": "^19.0.0",
|
|
|
"@types/react-dom": "^19.0.0",
|
|
|
"electron": "42.8.1",
|
|
|
+ "electron-builder": "^26.15.3",
|
|
|
"rimraf": "^6.0.1"
|
|
|
},
|
|
|
"scripts": {
|
|
|
"clean": "rimraf src-gen",
|
|
|
"rebuild": "theia rebuild:electron --cacheRoot ../..",
|
|
|
"bundle": "yarn rebuild && theia build --mode development",
|
|
|
+ "bundle:prod": "yarn rebuild && theia build --mode production",
|
|
|
+ "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",
|
|
|
"start": "theia start --plugins=local-dir:../../plugins",
|
|
|
- "watch": "yarn rebuild && theia build --watch --mode development"
|
|
|
+ "watch": "yarn rebuild && theia build --watch --mode development",
|
|
|
+ "package": "yarn bundle:prod && yarn sync-plugins && electron-builder --linux AppImage --publish never"
|
|
|
+ },
|
|
|
+ "build": {
|
|
|
+ "appId": "eu.yojik.modula2-ide",
|
|
|
+ "productName": "Modula-2 IDE",
|
|
|
+ "files": [
|
|
|
+ "electron-launcher.js",
|
|
|
+ "lib/**",
|
|
|
+ "src-gen/frontend/**",
|
|
|
+ "package.json"
|
|
|
+ ],
|
|
|
+ "extraResources": [
|
|
|
+ "plugins"
|
|
|
+ ],
|
|
|
+ "linux": {
|
|
|
+ "target": ["AppImage"],
|
|
|
+ "category": "Development"
|
|
|
+ },
|
|
|
+ "publish": null
|
|
|
},
|
|
|
"theia": {
|
|
|
"target": "electron"
|