You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
2.3 KiB
90 lines
2.3 KiB
{
|
|
"name": "ation",
|
|
"version": "0.4.0",
|
|
"description": "a simple presentation software",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"dev": "concurrently \"cd src/ui && cross-env BROWSER=none npm start\" \"wait-on tcp:3000 && nodemon --watch src --exec 'electron .'\"",
|
|
"build": "npm i && npm run build:assets && npm run build:react",
|
|
"build:react": "cd src/ui && npm i && npm run build",
|
|
"build:assets": "icon-gen -i assets/appIcon.svg -o ./assets --icns --ico --ico-name appIcon && xattr -cr assets/appIcon.svg",
|
|
"dist": "npm run clean && npm run build && electron-builder -mw",
|
|
"clean": "rm -rf node_modules && rm -rf src/public/build/* && rm -rf src/public/node_modules && rm -rf dist && rm -f assets/*.icns rm -f assets/*.ico"
|
|
},
|
|
"author": "Michael Ochmann <miko@massivedynamic.eu>",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"font-list": "^1.4.5",
|
|
"marked": "^4.1.0"
|
|
},
|
|
"build": {
|
|
"asar": true,
|
|
"productName": "ation",
|
|
"appId": "eu.massivedynamic.ation",
|
|
"directories": {
|
|
"buildResources": "assets"
|
|
},
|
|
"files": [
|
|
"**/*",
|
|
"assets/*.svg",
|
|
"package.json"
|
|
],
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "assets/appIcon.ico"
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "assets/app.icns",
|
|
"darkModeSupport": true,
|
|
"fileAssociations": [
|
|
{
|
|
"ext": [
|
|
"md"
|
|
],
|
|
"description": "Markdown files",
|
|
"role": "Viewer"
|
|
}
|
|
]
|
|
},
|
|
"dmg": {
|
|
"background": "assets/dmg_background.png",
|
|
"iconSize": 100,
|
|
"contents": [
|
|
{
|
|
"x": 160,
|
|
"y": 250
|
|
},
|
|
{
|
|
"x": 360,
|
|
"y": 250,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
],
|
|
"window": {
|
|
"width": 540,
|
|
"height": 400
|
|
}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^7.4.0",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "^21.0.0",
|
|
"electron-builder": "^23.3.3",
|
|
"icon-gen": "^3.0.1",
|
|
"nodemon": "^3.0.1",
|
|
"wait-on": "^6.0.1"
|
|
}
|
|
}
|
|
|