Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 2.19 KB
/
Copy pathpackage.json
File metadata and controls
51 lines (51 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "rocketseat-fastify",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "node --import tsx/esm --env-file=.env.local --watch src/server.ts",
"env:setup": "cp .env.example .env.local",
"infra:up": "docker compose up -d",
"infra:down": "docker compose down",
"local:setup": "npm run env:setup && npm run infra:up",
"db:generate": "npx drizzle-kit generate",
"db:migrate": "npx drizzle-kit migrate",
"db:push": "npx drizzle-kit push",
"types:check": "tsc --noEmit",
"build": "tsup",
"start": "node dist/server.js",
"test": "NODE_ENV=test node --import tsx/esm --experimental-test-module-mocks --test",
"test:unit": "NODE_ENV=test node --import tsx/esm --experimental-test-module-mocks --test 'src/modules/shared/utils/*.test.ts' 'src/modules/shared/auth/*.test.ts' 'src/modules/shared/config/*.test.ts' 'src/features/*/domain/**/*.test.ts' 'src/features/*/application/*.test.ts' 'src/features/*/infrastructure/ai/**/*.test.ts' 'src/features/*/interfaces/http/handlers/*.test.ts'",
"test:integration": "NODE_ENV=test node --import tsx/esm --experimental-test-module-mocks --test 'src/features/*/__tests__/*.integration.test.ts'",
"test:e2e": "NODE_ENV=test node --import tsx/esm --experimental-test-module-mocks --test 'src/features/*/__tests__/*.e2e.test.ts'",
"test:coverage": "NODE_ENV=test node --import tsx/esm --experimental-test-module-mocks --experimental-test-coverage --test"
},
"dependencies": {
"@fastify/type-provider-zod": "^1.0.0",
"@mastra/core": "^1.54.0",
"@scalar/fastify-api-reference": "^1.63.0",
"bcrypt": "^6.0.0",
"bullmq": "^6.0.9",
"drizzle-orm": "^0.45.2",
"fastify": "^5.10.0",
"ioredis": "^6.0.0",
"jsonwebtoken": "^9.0.3",
"nanoid": "^6.0.0",
"pg": "^8.22.0",
"youtube-transcript": "^1.3.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@flydotio/dockerfile": "^0.7.10",
"@types/bcrypt": "^6.0.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/nanoid": "^2.1.0",
"@types/node": "^26.1.1",
"@types/pg": "^8.20.0",
"dotenv": "^17.4.2",
"drizzle-kit": "^0.31.10",
"tsup": "^8.5.1",
"tsx": "^4.23.1",
"typescript": "^7.0.2"
}
}