Files
actual/packages/desktop-electron/package.json
2024-07-13 22:03:57 +01:00

84 lines
2.3 KiB
JSON

{
"name": "desktop-electron",
"author": "Actual",
"productName": "Actual",
"description": "A simple and powerful personal finance system",
"version": "24.7.0",
"scripts": {
"clean": "rm -rf dist",
"update-client": "bin/update-client",
"build": "yarn build:dist && electron-builder",
"build:dist": "tsc --p tsconfig.dist.json && yarn copy-static-html",
"copy-static-html": "copyfiles --exclude 'build/**/*' **/*.html icons/**/* build",
"watch": "yarn build:dist && cross-env ACTUAL_DOCUMENT_DIR=\"../../data\" ACTUAL_DATA_DIR=\"../../data\" electron ."
},
"main": "build/index.js",
"build": {
"appId": "com.actualbudget.actual",
"files": [
"!node_modules/loot-core/src{,/**/*}",
"!node_modules/loot-core/lib-dist/{browser,bundle.mobile*}",
"!**/*.js.map",
"!node_modules/@jlongster/sql.js",
"!node_modules/absurd-sql",
"!node_modules/better-sqlite3/{benchmark,src,bin,docs,deps,build/Release/obj,build/Release/sqlite3.a,build/Release/test_extension.node}",
"build"
],
"publish": {
"provider": "github",
"repo": "actual",
"owner": "actualbudget",
"vPrefixedTagName": true
},
"mac": {
"category": "public.app-category.finance",
"icon": "icons/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"artifactName": "${productName}-mac.${ext}",
"notarize": {
"teamId": "79ANZ983YF"
},
"target": [
{
"target": "default",
"arch": ["universal"]
}
]
},
"linux": {
"target": [
"flatpak",
"AppImage"
],
"artifactName": "${productName}-linux.${ext}"
},
"flatpak": {
"runtimeVersion": "23.08",
"baseVersion": "23.08"
},
"win": {
"target": "nsis",
"icon": "icons/icon.ico",
"artifactName": "${productName}-windows.${ext}"
}
},
"dependencies": {
"electron-is-dev": "2.0.0",
"electron-log": "4.4.8",
"loot-core": "*",
"node-fetch": "^2.7.0",
"promise-retry": "^2.0.1"
},
"devDependencies": {
"@electron/notarize": "2.2.0",
"@electron/rebuild": "3.6.0",
"@types/copyfiles": "^2",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"electron": "30.0.6",
"electron-builder": "24.13.3",
"typescript": "^5.0.2"
}
}