chore: codify backend local verification

This commit is contained in:
2026-08-24 19:55:28 +03:00
parent 60525656b8
commit 2772d53647
4 changed files with 59 additions and 30 deletions
+3 -1
View File
@@ -9,6 +9,7 @@
"node": "22.x"
},
"scripts": {
"runtime:check": "node scripts/verify-node-version.mjs",
"build": "prisma generate && nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
@@ -25,7 +26,8 @@
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "DATABASE_URL=file:/tmp/wealth-ledger-e2e.db prisma migrate deploy && NODE_ENV=development NODE_OPTIONS=--experimental-vm-modules jest --config ./test/jest-e2e.json"
"test:e2e": "DATABASE_URL=file:/tmp/wealth-ledger-e2e.db prisma migrate deploy && NODE_ENV=development NODE_OPTIONS=--experimental-vm-modules jest --config ./test/jest-e2e.json",
"verify": "npm run runtime:check && npm run hygiene:check && npm run lint && npm run typecheck:app && npm run typecheck:test && npm test -- --runInBand && npm run build"
},
"dependencies": {
"@grpc/grpc-js": "^1.14.4",