| { |
| "name": "@midday/db", |
| "private": true, |
| "scripts": { |
| "lint": "biome check .", |
| "lint:fix": "biome check --write .", |
| "test": "bun test --exit", |
| "test:matching": "bun test src/test/transaction-matching.test.ts", |
| "test:performance": "bun test src/test/transaction-matching.performance.test.ts", |
| "test:integration": "bun test src/test/transaction-matching.integration.test.ts", |
| "test:golden": "bun test src/test/transaction-matching.golden.test.ts", |
| "test:all-matching": "bun test src/test/transaction-matching*.test.ts", |
| "test:reports": "bun test src/test/reports.test.ts", |
| "test:watch": "bun test --watch", |
| "validate-golden": "bun run src/test/validate-golden-dataset.ts", |
| "typecheck": "tsc --noEmit" |
| }, |
| "exports": { |
| "./client": "./src/client.ts", |
| "./job-client": "./src/job-client.ts", |
| "./worker-client": "./src/worker-client.ts", |
| "./queries": "./src/queries/index.ts", |
| "./errors": "./src/errors.ts", |
| "./schema": "./src/schema.ts", |
| "./sql": "./src/sql.ts", |
| "./utils/api-keys": "./src/utils/api-keys.ts", |
| "./utils/search-query": "./src/utils/search-query.ts", |
| "./utils/health": "./src/utils/health.ts", |
| "./utils/currency": "./src/utils/currency.ts", |
| "./utils/tax": "./src/utils/tax.ts", |
| "./utils/blocklist": "./src/utils/blocklist.ts", |
| "./utils/invoice-recurring": "./src/utils/invoice-recurring.ts" |
| }, |
| "dependencies": { |
| "@date-fns/tz": "catalog:", |
| "@date-fns/utc": "^2.1.1", |
| "@midday/cache": "workspace:*", |
| "@midday/categories": "workspace:*", |
| "@midday/encryption": "workspace:*", |
| "@midday/engine": "workspace:*", |
| "@midday/invoice": "workspace:*", |
| "@midday/logger": "workspace:*", |
| "@midday/utils": "workspace:*", |
| "@sindresorhus/slugify": "catalog:", |
| "@types/pg": "^8.15.6", |
| "camelcase-keys": "catalog:", |
| "drizzle-orm": "^0.45.0", |
| "nanoid": "catalog:", |
| "pg": "^8.16.3", |
| "snakecase-keys": "^9.0.2" |
| }, |
| "devDependencies": { |
| "@types/bun": "latest", |
| "drizzle-kit": "^0.31.8" |
| } |
| } |
|
|