{ "name": "@actual-app/api", "version": "26.4.0", "description": "An API for Actual", "license": "MIT", "files": [ "@types", "dist" ], "main": "dist/index.js", "types": "@types/index.d.ts", "exports": { ".": { "types": "./@types/index.d.ts", "development": "./index.ts", "browser": "./dist/browser.js", "default": "./dist/index.js" } }, "publishConfig": { "exports": { ".": { "types": "./@types/index.d.ts", "browser": "./dist/browser.js", "default": "./dist/index.js" } } }, "scripts": { "build": "npm-run-all -s build:node build:browser-worker build:browser", "build:node": "vite build --config vite.config.mts && tsgo --emitDeclarationOnly", "build:browser": "vite build --config vite.browser.config.mts", "build:browser-worker": "vite build --config vite.browser-worker.config.mts", "test": "npm-run-all -cp 'test:*'", "test:node": "vitest --run --config vite.config.mts", "test:browser": "vitest --run --config vitest.browser.config.mts", "typecheck": "tsgo -b && tsc-strict" }, "dependencies": { "@actual-app/core": "workspace:*", "@actual-app/crdt": "workspace:*", "absurd-sql": "0.0.54", "better-sqlite3": "^12.8.0", "compare-versions": "^6.1.1" }, "devDependencies": { "@typescript/native-preview": "^7.0.0-dev.20260404.1", "fake-indexeddb": "^6.2.5", "jsdom": "^27.4.0", "npm-run-all": "^4.1.5", "rollup-plugin-visualizer": "^7.0.1", "typescript-strict-plugin": "^2.4.4", "vite": "^8.0.5", "vite-plugin-node-polyfills": "^0.26.0", "vite-plugin-peggy-loader": "^2.0.1", "vitest": "^4.1.2" }, "engines": { "node": ">=20" } }