Files
publisher-dashboard/packages/api-contract/package.json
igm 0f50291490 Add @types/bun to api-contract for test file compilation
The test file imports from bun:test which requires bun types. Added
@types/bun dependency and configured tsconfig to include bun types.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 15:20:21 +08:00

33 lines
774 B
JSON

{
"name": "@reviq/api-contract",
"version": "0.0.1",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "tsc",
"test": "bun test src/",
"clean": "tsc --build --clean && rm -rf dist/ node_modules/ .eslintcache",
"lint": "eslint . --cache"
},
"dependencies": {
"@orpc/contract": "^1.13.2",
"@simplewebauthn/types": "^12.0.0",
"libphonenumber-js": "^1.12.33",
"zod": "^4.3.5"
},
"devDependencies": {
"@macalinao/eslint-config": "catalog:",
"@macalinao/tsconfig": "catalog:",
"@types/bun": "^1.3.5",
"eslint": "catalog:",
"typescript": "catalog:"
}
}