parent
61df56de30
commit
33039796b4
2 changed files with 2455 additions and 109 deletions
File diff suppressed because it is too large
Load Diff
@ -1,21 +1,70 @@ |
|||||||
{ |
{ |
||||||
"name": "ation", |
"name": "ation", |
||||||
"version": "0.1.0", |
"version": "0.1.0", |
||||||
"description": "a simple presentation software", |
"description": "a simple presentation software", |
||||||
"main": "main.js", |
"main": "main.js", |
||||||
"scripts": { |
"scripts": { |
||||||
"start": "electron .", |
"start": "electron .", |
||||||
"dev": "concurrently \"cd src/ui && cross-env BROWSER=none npm start\" \"wait-on tcp:3000 && electron .\"" |
"dev": "concurrently \"cd src/ui && cross-env BROWSER=none npm start\" \"wait-on tcp:3000 && electron .\"", |
||||||
}, |
"build": "npm i && npm run build:assets && npm run build:react", |
||||||
"author": "MikO <miko@massivedynamic.eu>", |
"build:react": "cd src/ui && npm i && npm run build", |
||||||
"license": "MIT", |
"build:assets": "icon-gen -i assets/appIcon.svg -o ./assets --icns && xattr -cr assets/appIcon.svg", |
||||||
"dependencies": { |
"dist": "npm run clean && npm run build && electron-builder -m", |
||||||
"electron": "^21.0.0", |
"clean": "rm -rf node_modules && rm -rf src/public/build/* && rm -rf src/public/node_modules && rm -rf dist && rm -f assets/*.icns" |
||||||
"marked": "^4.1.0" |
}, |
||||||
}, |
"author": "Michael Ochmann <miko@massivedynamic.eu>", |
||||||
"devDependencies": { |
"license": "MIT", |
||||||
"concurrently": "^7.4.0", |
"dependencies": { |
||||||
"cross-env": "^7.0.3", |
"marked": "^4.1.0" |
||||||
"wait-on": "^6.0.1" |
}, |
||||||
} |
"build": { |
||||||
|
"asar": false, |
||||||
|
"productName": "ation", |
||||||
|
"appId": "eu.massivedynamic.ation", |
||||||
|
"directories": { |
||||||
|
"buildResources": "assets" |
||||||
|
}, |
||||||
|
"files": [ |
||||||
|
"**/*", |
||||||
|
"assets/*.svg", |
||||||
|
"package.json" |
||||||
|
], |
||||||
|
"mac": { |
||||||
|
"category": "public.app-category.productivity", |
||||||
|
"target": [ |
||||||
|
"dmg", |
||||||
|
"zip" |
||||||
|
], |
||||||
|
"icon": "assets/app.icns", |
||||||
|
"darkModeSupport": true |
||||||
|
}, |
||||||
|
"dmg": { |
||||||
|
"background": "assets/dmg_background.png", |
||||||
|
"iconSize": 50, |
||||||
|
"contents": [ |
||||||
|
{ |
||||||
|
"x": 160, |
||||||
|
"y": 250 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"x": 360, |
||||||
|
"y": 250, |
||||||
|
"type": "link", |
||||||
|
"path": "/Applications" |
||||||
|
} |
||||||
|
], |
||||||
|
"window": { |
||||||
|
"width": 540, |
||||||
|
"height": 400 |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
"devDependencies": { |
||||||
|
"electron": "^21.0.0", |
||||||
|
"concurrently": "^7.4.0", |
||||||
|
"cross-env": "^7.0.3", |
||||||
|
"electron-builder": "^23.3.3", |
||||||
|
"icon-gen": "^3.0.1", |
||||||
|
"wait-on": "^6.0.1" |
||||||
|
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue