-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.21 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
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
{
"name": "backend-template",
"version": "0.0.1",
"description": "A backend template using clean architecture",
"author": "Leonardo Dimarchi",
"private": true,
"license": "MIT",
"scripts": {
"build": "nest build",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"test": "jest --config ./test/jest.config.ts",
"test:watch": "jest --watch --config ./test/jest.config.ts",
"test:cov": "jest --coverage --config ./test/jest.cov.config.ts",
"test:e2e": "jest --config test/jest-e2e.ts",
"test:clear-cache": "jest --clearCache",
"typeorm:cli": "npm run build && node -r @swc/register ./node_modules/typeorm/cli.js -d src/shared/infra/database/typeorm/cli-config.ts",
"typeorm:cli:create": "node -r @swc/register ./node_modules/typeorm/cli.js",
"migration:generate": "node -r @swc/register src/shared/infra/database/typeorm/scripts/generate-migration.ts",
"migration:create": "node -r @swc/register src/shared/infra/database/typeorm/scripts/create-migration.ts",
"migration:run": "npm run typeorm:cli -- migration:run",
"migration:revert": "npm run typeorm:cli -- migration:revert",
"prepare": "husky install",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"cli": "node -r @swc/register src/cli/index.ts"
},
"dependencies": {
"@aws-sdk/client-ses": "^3.481.0",
"@nestjs/common": "^10.2.6",
"@nestjs/core": "^10.2.6",
"@nestjs/jwt": "^10.1.1",
"@nestjs/passport": "^10.0.2",
"@nestjs/platform-express": "^10.2.6",
"@nestjs/swagger": "^7.1.12",
"@nestjs/typeorm": "^10.0.0",
"bcrypt": "^5.1.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"dotenv": "^16.3.1",
"envalid": "^8.0.0",
"nestjs-i18n": "^10.3.5",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pg": "^8.11.3",
"typeorm": "^0.3.17"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@faker-js/faker": "^8.1.0",
"@nestjs/cli": "^10.1.18",
"@nestjs/schematics": "^10.0.2",
"@nestjs/testing": "^10.2.6",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.90",
"@swc/jest": "^0.2.29",
"@swc/register": "^0.1.10",
"@types/bcrypt": "^5.0.0",
"@types/express": "^4.17.17",
"@types/jest": "29.5.5",
"@types/node": "20.6.3",
"@types/passport-jwt": "^3.0.9",
"@types/passport-local": "^1.0.35",
"@types/pluralize": "^0.0.32",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"nest-commander": "^3.12.0",
"param-case": "^3.0.4",
"pascal-case": "^3.1.2",
"pluralize": "^8.0.0",
"prettier": "^3.0.3",
"supertest": "^6.3.3",
"ts-jest": "29.1.1",
"typescript": "^5.2.2"
},
"lint-staged": {
"{src,apps,libs,test}/**/*.ts": "eslint --cache --fix",
"{src,test}/**/*.ts": "prettier --write"
}
}