- 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>
36 lines
1018 B
JSON
36 lines
1018 B
JSON
{
|
|
"name": "@reviq/cli",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"bin": {
|
|
"reviq": "./dist/reviq",
|
|
"__reviq_bash_complete": "./dist/bash-complete"
|
|
},
|
|
"scripts": {
|
|
"build": "bun build src/bin/reviq.ts --compile --outfile dist/reviq && bun build src/bin/bash-complete.ts --compile --outfile dist/bash-complete",
|
|
"cli": "bun run src/bin/reviq.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint . --cache",
|
|
"clean": "rm -rf dist .eslintcache",
|
|
"test": "bun test src/"
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "^2.0.1",
|
|
"@orpc/client": "^1.13.2",
|
|
"@orpc/contract": "^1.13.2",
|
|
"@reviq/api-contract": "workspace:*",
|
|
"@reviq/db": "workspace:*",
|
|
"@scure/base": "^2.0.0",
|
|
"@stricli/auto-complete": "^1.0.0",
|
|
"@stricli/core": "^1.2.5"
|
|
},
|
|
"devDependencies": {
|
|
"@macalinao/eslint-config": "catalog:",
|
|
"@macalinao/tsconfig": "catalog:",
|
|
"@types/bun": "catalog:",
|
|
"eslint": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|