- Create @reviq/test-helpers package with shared test utilities - Add describeE2E helper that auto-prefixes test names with [e2e] - Support SKIP_DB_TESTS=1 to skip database-dependent tests - Add unix socket support for TEST_DATABASE_URL - Add root commands: test:unit, test:all, test:cov, test:unit:cov - Configure bunfig.toml to exclude dist/ from coverage reports - Clean up tsconfig.json files to remove redundant settings Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"name": "@reviq/api-server",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun run --hot src/index.ts",
|
|
"build": "bun build src/index.ts --compile --outfile dist/api-server",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint . --cache",
|
|
"clean": "rm -rf dist .eslintcache",
|
|
"test": "bun test src/ --no-parallel"
|
|
},
|
|
"dependencies": {
|
|
"@formatjs/intl-durationformat": "^0.9.2",
|
|
"@noble/hashes": "^2.0.1",
|
|
"@orpc/experimental-pino": "^1.13.2",
|
|
"@orpc/server": "^1.13.2",
|
|
"@reviq/api-contract": "workspace:*",
|
|
"@reviq/db": "workspace:*",
|
|
"@reviq/db-schema": "workspace:*",
|
|
"@reviq/utils": "workspace:*",
|
|
"@scure/base": "^2.0.0",
|
|
"@simplewebauthn/server": "^13.2.2",
|
|
"@simplewebauthn/types": "^12.0.0",
|
|
"kysely": "^0.28.2",
|
|
"maxmind": "^5.0.3",
|
|
"pino": "^10.1.0",
|
|
"postmark": "^4.0.5",
|
|
"zxcvbn": "^4.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@macalinao/eslint-config": "catalog:",
|
|
"@macalinao/tsconfig": "catalog:",
|
|
"@reviq/test-helpers": "workspace:*",
|
|
"@reviq/virtual-authenticator": "workspace:*",
|
|
"@types/bun": "catalog:",
|
|
"@types/zxcvbn": "^4.4.5",
|
|
"eslint": "catalog:",
|
|
"pino-pretty": "^13.1.3",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|