mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
* playwright testing for electron * pipeline updates * fix normal e2e scripts * fix path to artifact * listing out whats there * attempt to fix ci * umm * again * setting a viewport * window size to be consistent across machine for tests * now it work... Righhttt? * hmm * do it * worflow * will this work * oops * dont skip * trust in the pipeline gods * remove update snapshots, just do it in the pipeline * change name of snapshot to account for os * lint * fix package script
111 lines
3.0 KiB
JSON
111 lines
3.0 KiB
JSON
{
|
|
"name": "desktop-electron",
|
|
"author": "Actual",
|
|
"productName": "Actual",
|
|
"description": "A simple and powerful personal finance system",
|
|
"version": "25.4.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-assets",
|
|
"copy-static-assets": "copyfiles --exclude 'build/**/*' **/*.html icons/**/* build",
|
|
"watch": "yarn build:dist && cross-env ACTUAL_DOCUMENT_DIR=\"../../data\" ACTUAL_DATA_DIR=\"../../data\" electron .",
|
|
"e2e": "npx playwright test"
|
|
},
|
|
"main": "build/index.js",
|
|
"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/beforePackHook.js",
|
|
"mac": {
|
|
"category": "public.app-category.finance",
|
|
"icon": "icons/icon.icns",
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"artifactName": "${productName}-mac-${arch}.${ext}",
|
|
"notarize": {
|
|
"teamId": "79ANZ983YF"
|
|
},
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"flatpak",
|
|
"AppImage"
|
|
],
|
|
"artifactName": "${productName}-linux-${arch}.${ext}"
|
|
},
|
|
"flatpak": {
|
|
"runtimeVersion": "23.08",
|
|
"baseVersion": "23.08"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "appx",
|
|
"arch": [
|
|
"ia32",
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"ia32",
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "icons/icon.ico",
|
|
"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
|
|
},
|
|
"dependencies": {
|
|
"@actual-app/sync-server": "workspace:*",
|
|
"@ngrok/ngrok": "^1.4.1",
|
|
"better-sqlite3": "^11.9.1",
|
|
"fs-extra": "^11.3.0",
|
|
"promise-retry": "^2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/notarize": "2.4.0",
|
|
"@electron/rebuild": "3.6.0",
|
|
"@playwright/test": "1.41.2",
|
|
"@types/copyfiles": "^2",
|
|
"@types/fs-extra": "^11",
|
|
"copyfiles": "^2.4.1",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "30.0.6",
|
|
"electron-builder": "24.13.3",
|
|
"typescript": "^5.8.2"
|
|
}
|
|
}
|