Files
actual/packages/sync-server/package.json
Roger Goldfinger 090345bd95 Enable Typescript in sync-server (#4887)
* attempt at running with typescript

* release notes

* working jest tests for TS files

* working docker image build

* remaining docker images

* cleanup

* ensure vitest is working

* get tests passing in ci

* less strict

* update release notes

* use tsc compiled assets in the published package

* scripts

* update yarn.lock

* Use build path for electron app

* PR feedback: move sync-server build out of bin/build-browser

* PR feedback: undo moduleResolution change

* extend main tsconfig and fix types

* PR feedback on scripts and when the sync-server build runs

* fix lint (unrelated change)

---------

Co-authored-by: alecbakholdin <alecbakholdin@gmail.com>
2025-05-05 23:45:49 -04:00

73 lines
2.4 KiB
JSON

{
"name": "@actual-app/sync-server",
"version": "25.5.0",
"license": "MIT",
"description": "actual syncing server",
"bin": {
"actual-server": "./build/bin/actual-server.js"
},
"type": "module",
"files": [
"build",
"default-db.sqlite",
"README.md",
"LICENSE"
],
"scripts": {
"start": "yarn build && node build/app",
"start-monitor": "nodemon --exec 'tsc && node build/app' --ignore './build/**/*' --ext 'ts,js' build/app",
"build": "tsc",
"test": "NODE_ENV=test NODE_OPTIONS='--experimental-vm-modules --trace-warnings' vitest",
"db:migrate": "yarn build && cross-env NODE_ENV=development node build/src/scripts/run-migrations.js up",
"db:downgrade": "yarn build && cross-env NODE_ENV=development node build/src/scripts/run-migrations.js down",
"db:test-migrate": "yarn build && cross-env NODE_ENV=test node build/src/scripts/run-migrations.js up",
"db:test-downgrade": "yarn build && cross-env NODE_ENV=test node build/src/scripts/run-migrations.js down",
"reset-password": "yarn build && node build/src/scripts/reset-password.js",
"disable-openid": "yarn build && node build/src/scripts/disable-openid.js",
"health-check": "yarn build && node build/src/scripts/health-check.js"
},
"dependencies": {
"@actual-app/crdt": "2.1.0",
"@actual-app/web": "workspace:*",
"bcrypt": "^5.1.1",
"better-sqlite3": "^11.9.1",
"body-parser": "^1.20.3",
"convict": "^6.2.4",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"debug": "^4.4.0",
"express": "4.21.2",
"express-actuator": "1.8.4",
"express-rate-limit": "^7.5.0",
"express-response-size": "^0.0.3",
"express-winston": "^4.2.0",
"jws": "^4.0.0",
"migrate": "^2.1.0",
"nordigen-node": "^1.4.0",
"openid-client": "^5.4.3",
"pluggy-sdk": "^0.68.1",
"uuid": "^9.0.1",
"winston": "^3.17.0"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/preset-typescript": "^7.20.2",
"@types/babel__core": "^7",
"@types/bcrypt": "^5.0.2",
"@types/better-sqlite3": "^7.6.12",
"@types/convict": "^6",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/express-actuator": "^1.8.3",
"@types/node": "^22.14.0",
"@types/supertest": "^2.0.16",
"@types/uuid": "^9.0.8",
"@vitest/coverage-v8": "3.1.1",
"http-proxy-middleware": "^3.0.5",
"nodemon": "^3.1.9",
"supertest": "^6.3.4",
"typescript": "^5.8.2",
"vitest": "^3.0.2"
}
}