Files
actual/packages/desktop-electron/package.json
Matiss Janis Aboltins 6c150cf28a [AI] Publish loot-core (@actual-app/core) nightly first in workflow (#7200)
* [AI] Publish loot-core (@actual-app/core) nightly first in workflow

* [autofix.ci] apply automated fixes

* Refactor imports and update configuration

- Updated .oxfmtrc.json to change "parent" to ["parent", "subpath"].
- Removed unnecessary blank lines in various TypeScript files to improve code readability.
- Adjusted import order in reports and rules files for consistency.

* Add workflow steps to pack and publish the core package nightly

* Remove nightly tag from npm publish command in workflow for core package

* Update post-build script comment to reflect correct workspace command for loot-core declarations

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-15 17:35: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": "tsgo && yarn copy-static-assets",
"typecheck": "tsgo -b && 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": {
"@actual-app/core": "workspace:*",
"@electron/notarize": "3.1.1",
"@electron/rebuild": "4.0.2",
"@playwright/test": "1.58.2",
"@types/copyfiles": "^2",
"@types/fs-extra": "^11",
"@typescript/native-preview": "^7.0.0-dev.20260309.1",
"copyfiles": "^2.4.1",
"cross-env": "^10.1.0",
"electron": "39.2.7",
"electron-builder": "26.4.0",
"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"
}