44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"name": "@personal-brand/api",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"dev": "pnpm build && node --env-file=.env dist/main.js",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "tsx --test test/**/*.test.ts",
|
|
"test:integration": "pnpm build && node --env-file=.env test/run-integration.cjs && pnpm --filter @personal-brand/api exec tsx --test test/http.upload.test.js",
|
|
"clean": "rimraf dist",
|
|
"start": "node dist/main.js",
|
|
"db:generate": "prisma generate",
|
|
"db:migrate": "prisma migrate dev",
|
|
"db:migrate:deploy": "prisma migrate deploy",
|
|
"db:seed": "tsx prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.1149.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1149.0",
|
|
"@fastify/multipart": "^10.1.3",
|
|
"@fastify/static": "^10.1.6",
|
|
"@nestjs/common": "^11.0.11",
|
|
"@nestjs/core": "^11.0.11",
|
|
"@nestjs/platform-fastify": "^11.0.11",
|
|
"@personal-brand/config": "workspace:^",
|
|
"@personal-brand/types": "workspace:^",
|
|
"@personal-brand/validation": "workspace:^",
|
|
"@prisma/client": "^6.2.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.1",
|
|
"fastify": "^5.11.3",
|
|
"prisma": "^6.2.1",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.5",
|
|
"tsx": "^4.19.2"
|
|
}
|
|
}
|