-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 2.2 KB
/
package.json
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "finance-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"prestart:dev": "docker compose --env-file .env up -d",
"start:dev": "tsx watch --env-file=.env ./src/server.ts",
"dev": "tsx watch --env-file=.env ./src/server.ts",
"db:deploy": "npx prisma migrate deploy && npx prisma generate",
"build": "tsup --out-dir build",
"start": "node build/server.js",
"start:containers": "docker compose -f compose.yml --env-file .env up --build -d",
"lint": "eslint . --ext .ts --fix",
"test:create-environment-prisma": "cd ./prisma/vitest-environment-prisma && npm link",
"test:install-environment-prisma": "npm link vitest-environment-prisma",
"pretest:e2e": "run-s test:create-environment-prisma test:install-environment-prisma",
"test": "vitest run --dir src/use-cases",
"test:watch": "vitest --dir src/use-cases",
"test:e2e": "vitest run --dir src/http --test-timeout=12000",
"test:e2e:watch": "vitest --dir src/http/controllers/metrics --test-timeout=12000",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui --api 9572"
},
"keywords": [],
"author": "Vinicius <viniciuferreira32@gmail.com>",
"license": "ISC",
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"devDependencies": {
"@rocketseat/eslint-config": "2.2.2",
"@types/bcryptjs": "2.4.6",
"@types/fastify-jwt": "0.8.1",
"@types/node": "^20.12.7",
"@types/supertest": "6.0.2",
"@vitest/coverage-v8": "1.5.3",
"@vitest/ui": "1.5.3",
"dotenv": "16.4.5",
"eslint": "8.56.0",
"eslint-plugin-simple-import-sort": "12.1.0",
"npm-run-all": "4.1.5",
"prisma": "5.12.1",
"tsx": "^4.7.2",
"typescript": "^5.4.5",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.5.3"
},
"dependencies": {
"@faker-js/faker": "8.4.1",
"@fastify/jwt": "8.0.0",
"@fastify/swagger": "8.14.0",
"@fastify/swagger-ui": "4.0.0",
"@prisma/client": "5.12.1",
"@scalar/fastify-api-reference": "1.24.35",
"bcryptjs": "2.4.3",
"chalk": "5.3.0",
"dayjs": "1.11.11",
"fastify": "4.26.2",
"supertest": "7.0.0",
"zod": "^3.22.4",
"zod-to-json-schema": "3.23.2",
"tsup": "^8.0.2"
}
}