-
Notifications
You must be signed in to change notification settings - Fork 73
/
package.json
107 lines (107 loc) · 3.04 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "nestjs-api-boilerplate-jwt",
"version": "1.0.0",
"description": "An API Boilerplate to create a ready-to-use REST API in seconds with NestJS 10.x and Auth JWT System",
"author": "Tony133",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:repl": "nest start --entryFile repl",
"lint": "eslint {src,test}/**/*.ts --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"prepare": "husky"
},
"dependencies": {
"@fastify/cors": "^9.0.1",
"@fastify/static": "^7.0.4",
"@nestjs/common": "^10.4.15",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.4.15",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "2.0.6",
"@nestjs/platform-fastify": "^10.4.15",
"@nestjs/swagger": "^8.1.0",
"@nestjs/throttler": "^6.2.1",
"@nestjs/typeorm": "^10.0.2",
"ajv": "^8.17.1",
"bcrypt": "^5.1.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"dotenv": "^16.4.5",
"fastify": "^4.28.0",
"mysql2": "^3.12.0",
"nodemailer": "^6.9.16",
"pino-pretty": "^13.0.0",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.0.0",
"rxjs": "^7.8.1",
"typeorm": "^0.3.20"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-angular": "^19.3.0",
"@nestjs/cli": "^10.4.9",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.15",
"@types/bcrypt": "^5.0.2",
"@types/jest": "^29.5.12",
"@types/node": "^22.4.0",
"@types/nodemailer": "^6.4.15",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"supertest": "^7.0.0",
"ts-jest": "^29.1.4",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^. \\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.{!(module),}.(t|j)s"
],
"coveragePathIgnorePatterns": [
"/src/migrations",
"/src/helpers",
"/src/main.ts",
"/src/repl.ts",
"/src/shared/logger",
"/src/users/repositories",
".constants.ts",
".guard.ts",
".config.ts"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"**/*.{ts,json}": []
}
}