- Created pnpm workspace configuration to manage packages. - Added a placeholder .gitkeep file in the scripts directory. - Implemented a smoke test script to validate core API and web endpoints. - Established TypeScript base configuration for consistent compilation settings. - Introduced Turbo configuration for task management and build processes.
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "@davinci/api",
|
|
"version": "0.1.0-alpha.0",
|
|
"description": "Davinci Platform — NestJS API backend (Fastify adapter)",
|
|
"author": "Galaxis",
|
|
"private": true,
|
|
"license": "UNLICENSED",
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"start": "node dist/main.js",
|
|
"start:dev": "nest start --watch",
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run --config vitest.config.ts",
|
|
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
"test:cov": "vitest run --coverage",
|
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:migrate": "prisma migrate dev"
|
|
},
|
|
"dependencies": {
|
|
"@davinci/shared": "workspace:*",
|
|
"@nestjs/common": "^11.0.0",
|
|
"@nestjs/config": "^4.0.0",
|
|
"@nestjs/core": "^11.0.0",
|
|
"@nestjs/platform-fastify": "^11.0.0",
|
|
"@nestjs/swagger": "^11.2.6",
|
|
"@prisma/adapter-pg": "^7.5.0",
|
|
"@prisma/client": "^7.0.0",
|
|
"@scalar/fastify-api-reference": "^1.48.5",
|
|
"dotenv": "^16.4.0",
|
|
"joi": "^17.13.0",
|
|
"reflect-metadata": "^0.2.0",
|
|
"rxjs": "^7.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^11.0.0",
|
|
"@nestjs/testing": "^11.0.0",
|
|
"@swc/core": "^1.10.0",
|
|
"@types/node": "^22.10.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"prisma": "^7.0.0",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.7.0",
|
|
"unplugin-swc": "^1.5.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"prisma": {
|
|
"seed": "npx tsx prisma/seed.ts"
|
|
}
|
|
}
|