Files
actual-actualbudget/packages/desktop-electron/package.json
Matiss Janis Aboltins cf05a7ea01 [AI] Typescript: low hanging fruit (#7091)
* [AI] Use loot-core workspace in desktop-electron and fix related types

- Add loot-core as workspace dependency in desktop-electron
- Import GlobalPrefsJson from loot-core package in desktop-electron
- Allow null in usersSlice data type (UsersState)
- Add explicit SQL.Database return type to openDatabase in sqlite electron

Made-with: Cursor

* Re-add loot-core as a workspace dependency in desktop-electron
2026-03-04 18:32:01 +00:00

131 lines
3.5 KiB
JSON

{
"name": "desktop-electron",
"version": "26.3.0",
"description": "A simple and powerful personal finance system",
"author": "Actual",
"main": "build/desktop-electron/index.js",
"scripts": {
"clean": "rm -rf dist",
"update-client": "bin/update-client",
"build": "yarn build:dist && electron-builder",
"build:dist": "tsc && yarn copy-static-assets",
"typecheck": "tsc --noEmit && tsc-strict",
"copy-static-assets": "copyfiles --exclude 'build/**/*' **/*.html icons/**/* build/desktop-electron",
"watch": "yarn build:dist && cross-env ACTUAL_DOCUMENT_DIR=\"../../data\" ACTUAL_DATA_DIR=\"../../data\" electron .",
"e2e": "npx playwright test"
},
"dependencies": {
"@actual-app/sync-server": "workspace:*",
"better-sqlite3": "^12.6.2",
"fs-extra": "^11.3.3",
"promise-retry": "^2.0.1"
},
"devDependencies": {
"@electron/notarize": "3.1.1",
"@electron/rebuild": "4.0.2",
"@playwright/test": "1.58.2",
"@types/copyfiles": "^2",
"@types/fs-extra": "^11",
"copyfiles": "^2.4.1",
"cross-env": "^10.1.0",
"electron": "39.2.7",
"electron-builder": "26.4.0",
"loot-core": "workspace:*",
"typescript": "^5.9.3",
"typescript-strict-plugin": "^2.4.4"
},
"build": {
"appId": "com.actualbudget.actual",
"files": [
"build",
"!node_modules/@actual-app/web",
"node_modules/@actual-app/web/build",
"node_modules/@actual-app/web/package.json",
"!node_modules/better-sqlite3/{benchmark,src,bin,docs,deps,build/Release/obj,build/Release/sqlite3.a,build/Release/test_extension.node}",
"!**/*.js.map",
"!**/stats.json",
"!build/client-build/sql-wasm.wasm",
"!build/loot-core/lib-dist/electron/{browser,bundle.mobile*}"
],
"beforePack": "./build/desktop-electron/beforePackHook.js",
"mac": {
"category": "public.app-category.finance",
"icon": "icons/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"artifactName": "${productName}-mac-${arch}.${ext}",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
]
},
"linux": {
"target": [
{
"target": "flatpak",
"arch": [
"x64"
]
},
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
}
],
"artifactName": "${productName}-linux-${arch}.${ext}",
"extraResources": [
"extra-resources/linux"
],
"desktop": {
"entry": {
"Categories": "Finance;Office",
"Keywords": "Budget;Finance;Money;Expenses;Savings;"
}
},
"executableName": "actual"
},
"flatpak": {
"runtimeVersion": "24.08",
"baseVersion": "24.08"
},
"win": {
"target": [
{
"target": "appx",
"arch": [
"ia32",
"x64",
"arm64"
]
},
{
"target": "nsis",
"arch": [
"ia32",
"x64",
"arm64"
]
}
],
"icon": "icons/icon.png",
"artifactName": "${productName}-windows-${arch}.${ext}"
},
"appx": {
"identityName": "actualbudget.org.ActualBudget",
"publisherDisplayName": "actualbudget.org",
"displayName": "Actual Budget",
"publisher": "CN=19454997-90E1-4473-879D-96D6A77A6056"
},
"npmRebuild": false
},
"productName": "Actual"
}