73 lines
1.8 KiB
JSON
73 lines
1.8 KiB
JSON
{
|
|
"name": "@repo/api",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/es/index.d.ts",
|
|
"default": "./dist/es/index.js"
|
|
}
|
|
},
|
|
"./schame": {
|
|
"import": {
|
|
"types": "./dist/es/schema/index.d.ts",
|
|
"default": "./dist/es/schema/index.js"
|
|
}
|
|
},
|
|
"./types": {
|
|
"import": {
|
|
"types": "./dist/es/types/index.d.ts",
|
|
"default": "./dist/es/types/index.js"
|
|
}
|
|
}
|
|
},
|
|
"main": "./dist/cjs/index.js",
|
|
"module": "./dist/es/index.mjs",
|
|
"types": "./dist/cjs/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "bunchee --tsconfig tsconfig.build.json",
|
|
"dev": "tsx watch src/index.ts",
|
|
"dbm": "prisma migrate dev",
|
|
"dbp": "prisma db push",
|
|
"dbg": "prisma generate",
|
|
"test": "jest --runInBand --detectOpenHandles --forceExit --verbose"
|
|
},
|
|
"dependencies": {
|
|
"@3rapp/utils": "workspace:*",
|
|
"@hono/node-server": "catalog:",
|
|
"@hono/zod-validator": "catalog:",
|
|
"@prisma/adapter-pg": "catalog:",
|
|
"@prisma/client": "catalog:",
|
|
"@types/pg": "catalog:",
|
|
"form-data": "catalog:",
|
|
"hono": "catalog:",
|
|
"jsonwebtoken": "catalog:",
|
|
"lodash": "catalog:",
|
|
"pg": "catalog:",
|
|
"prisma-extension-bark": "catalog:",
|
|
"prisma-paginate": "catalog:",
|
|
"uuid": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/eslint-config": "workspace:*",
|
|
"@types/jest": "catalog:",
|
|
"@types/jsonwebtoken": "catalog:",
|
|
"@types/lodash": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/uuid": "catalog:",
|
|
"bunchee": "catalog:",
|
|
"jest": "catalog:",
|
|
"prisma": "catalog:",
|
|
"ts-jest": "catalog:",
|
|
"tsx": "catalog:",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"prisma": {
|
|
"schema": "src/database/schema"
|
|
}
|
|
}
|