58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"name": "@kan/api",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./root": {
|
|
"types": "./dist/root.d.ts",
|
|
"default": "./src/root.ts"
|
|
},
|
|
"./trpc": {
|
|
"types": "./dist/trpc.d.ts",
|
|
"default": "./src/trpc.ts"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types.d.ts",
|
|
"default": "./src/types/router.types.ts"
|
|
},
|
|
"./openapi": {
|
|
"types": "./dist/openapi.d.ts",
|
|
"default": "./src/openapi.ts"
|
|
}
|
|
},
|
|
"license": "GPL-3.0",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "git clean -xdf .cache .turbo dist node_modules",
|
|
"dev": "tsc",
|
|
"format": "prettier --check . --ignore-path ../../.gitignore",
|
|
"lint": "eslint",
|
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
|
|
},
|
|
"dependencies": {
|
|
"@kan/auth": "workspace:*",
|
|
"@kan/db": "workspace:*",
|
|
"@kan/email": "workspace:^",
|
|
"@kan/shared": "workspace:^",
|
|
"@kan/stripe": "workspace:^",
|
|
"@trpc/server": "catalog:",
|
|
"superjson": "2.2.1",
|
|
"trpc-to-openapi": "^2.3.2",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@kan/eslint-config": "workspace:*",
|
|
"@kan/prettier-config": "workspace:*",
|
|
"@kan/tsconfig": "workspace:*",
|
|
"eslint": "catalog:",
|
|
"prettier": "catalog:",
|
|
"typescript": "catalog:"
|
|
},
|
|
"prettier": "@kan/prettier-config"
|
|
}
|