-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.79 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.79 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "lumitech-node-fastify-template",
"version": "0.0.1",
"description": "Back-end application",
"type": "module",
"scripts": {
"prebuild": "npm run prisma:generate",
"build": "rm -rf build && tsc -p ./tsconfig.build.json && tsc-alias",
"start:dev": "tsx watch --include \"src/**/*\" ./src/index.ts",
"commit": "cz",
"prepare": "husky",
"tsc-check": "tsc --noEmit",
"lint": "eslint --ignore-pattern \"test/*\" --color",
"lint:fix": "eslint --ignore-pattern \"test/*\" --color --fix",
"format": "prettier --write",
"commitlint": "commitlint --edit",
"prisma:push": "prisma db push",
"prisma:generate": "prisma generate",
"prisma:seed": "prisma db seed",
"prisma:migrate:apply": "prisma migrate dev",
"prisma:migrate:create": "prisma migrate dev --create-only",
"prisma:deploy": "prisma migrate deploy",
"prisma:diagram": "prisma generate --generator dbml",
"prisma:format": "prisma format",
"test:unit": "vitest -c vitest-unit.config.ts",
"test:unit:ui": "vitest -c vitest-unit.config.ts --ui",
"test:unit:ci": "vitest run -c vitest-unit.config.ts --reporter verbose",
"test:int": "vitest -c vitest-int.config.ts",
"test:int:ui": "vitest -c vitest-int.config.ts --ui",
"test:int:ci": "vitest run -c vitest-int.config.ts --reporter verbose",
"generate:module": "node cli/module-gen/index.js",
"generate:repository": "node cli/repository-gen/index.js"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"npm run format",
"eslint --ignore-pattern \"test/*\" --color --fix",
"bash -c 'npm run tsc-check'"
],
"**/*.prisma": [
"npm run prisma:format"
]
},
"prisma": {
"schema": "src/database/prisma/schema.prisma"
},
"keywords": [
"backend",
"api"
],
"author": "",
"license": "ISC",
"engines": {
"node": ">=22.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@stylistic/eslint-plugin-js": "^4.4.1",
"@types/node": "^22.14.0",
"@types/pg": "^8.15.5",
"@types/pino": "^7.0.5",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.44.0",
"@vitest/ui": "^3.2.4",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.0.1",
"eslint": "^9.35.0",
"eslint-plugin-pretty-imports": "^1.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.6",
"pg": "^8.16.3",
"prettier": "^3.6.2",
"prisma": "^6.16.2",
"prisma-dbml-generator": "^0.12.0",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4",
"vitest-mock-extended": "^3.1.0"
},
"dependencies": {
"@fastify/autoload": "^6.3.1",
"@fastify/basic-auth": "^6.2.0",
"@fastify/cors": "^11.1.0",
"@fastify/env": "^5.0.2",
"@fastify/error": "^4.2.0",
"@fastify/jwt": "^10.0.0",
"@fastify/swagger": "^9.5.1",
"@fastify/swagger-ui": "^5.2.3",
"@google-cloud/storage": "^7.18.0",
"@prisma/client": "^6.16.2",
"argon2": "^0.44.0",
"awilix": "^12.0.5",
"close-with-grace": "^2.2.0",
"date-fns": "^4.1.0",
"fastify": "^5.6.0",
"fastify-type-provider-zod": "^6.0.0",
"fluent-json-schema": "^6.0.0",
"pino-pretty": "^13.1.1",
"tsc-alias": "^1.8.16",
"zod": "^4.1.9"
}
}