generated from HenriqueAmorim20/GEROcuidadoAPITemplate
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
153 lines (153 loc) · 4.84 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "gerocuidado-forum-api",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"e2e/**/*.ts\"",
"start": "nest start --preserveWatchOutput",
"start:dev": "nest start --watch --preserveWatchOutput",
"start:debug": "nest start --debug 0.0.0.0:7001 --watch --preserveWatchOutput",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test:all": "CI=true npm run test -- --coverage",
"test": "jest --passWithNoTests --no-cache --runInBand --detectOpenHandles --coverage --colors",
"test:watch": "jest --watchAll",
"test:cov": "jest --runInBand --coverage --colors",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --forceExit --detectOpenHandles --colors --config ./e2e/jest-e2e.json",
"test:e2e:cov": "jest --runInBand --forceExit --detectOpenHandles --colors --coverage --config ./e2e/jest-e2e.json",
"test:e2e:watch": "jest --detectOpenHandles --config ./e2e/jest-e2e.json --watchAll",
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
"typeorm:create": "npm run typeorm migration:create",
"typeorm:revert": "npm run typeorm migration:revert -- -d src/ormconfig.ts",
"typeorm:migrate": "npm run typeorm migration:generate -- -d src/ormconfig.ts",
"typeorm:run": "./node_modules/.bin/typeorm-ts-node-commonjs migration:run -d src/ormconfig.ts",
"schema:drop": "npm run typeorm schema:drop",
"sonar": "sonar-scanner",
"schema:sync": "npm run typeorm schema:sync"
},
"dependencies": {
"@grpc/grpc-js": "1.7.3",
"@grpc/proto-loader": "0.7.3",
"@nestjs/axios": "0.1.0",
"@nestjs/common": "9.1.2",
"@nestjs/config": "2.2.0",
"@nestjs/core": "9.1.2",
"@nestjs/jwt": "9.0.0",
"@nestjs/mapped-types": "1.1.0",
"@nestjs/microservices": "9.1.2",
"@nestjs/passport": "9.0.3",
"@nestjs/platform-express": "9.1.2",
"@nestjs/typeorm": "9.0.1",
"amqp-connection-manager": "4.1.3",
"amqplib": "0.10.0",
"bcrypt": "5.0.1",
"cache-manager": "3.4.3",
"cache-manager-redis-store": "2.0.0",
"class-transformer": "0.5.1",
"class-validator": "0.13.2",
"compression": "1.7.4",
"cors": "2.8.5",
"dotenv": "10.0.0",
"express-actuator": "1.8.2",
"helmet": "6.0.0",
"jest-sonar-reporter": "^2.0.0",
"passport": "0.5.2",
"passport-jwt": "4.0.0",
"passport-local": "1.0.0",
"pg": "8.7.3",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.5.7",
"typeorm": "0.3.10"
},
"devDependencies": {
"@faker-js/faker": "8.0.2",
"@nestjs/apollo": "10.1.0",
"@nestjs/cli": "9.1.2",
"@nestjs/graphql": "10.1.1",
"@nestjs/schematics": "9.0.3",
"@nestjs/testing": "9.1.2",
"@types/bcrypt": "5.0.0",
"@types/cache-manager": "3.4.0",
"@types/compression": "1.7.2",
"@types/cors": "2.8.12",
"@types/express": "4.17.13",
"@types/express-actuator": "1.8.0",
"@types/jest": "^29.5.6",
"@types/node": "18.17.0",
"@types/passport-jwt": "3.0.6",
"@types/passport-local": "1.0.34",
"@types/supertest": "2.0.11",
"@typescript-eslint/eslint-plugin": "5.13.0",
"@typescript-eslint/parser": "5.13.0",
"apollo-server-express": "3.10.2",
"eslint": "8.10.0",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-prettier": "4.0.0",
"graphql": "16.6.0",
"jest": "^29.2.1",
"jest-mock-extended": "^3.0.5",
"jest-sonar": "^0.2.16",
"prettier": "2.5.1",
"sonarqube-scanner": "2.8.1",
"source-map-support": "0.5.21",
"supertest": "6.2.2",
"ts-jest": "^29.1.1",
"ts-loader": "9.2.7",
"ts-node": "10.6.0",
"tsconfig-paths": "3.12.0",
"typescript": "4.6.2"
},
"extensionDependencies": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"rbbit.typescript-hero"
],
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"reporters": [
"default",
[
"jest-sonar",
{
"outputDirectory": "reports",
"outputName": "sonar-report.xml",
"relativeRootDir": "."
}
]
],
"coverageDirectory": "../coverage/unit",
"coveragePathIgnorePatterns": [
"src/migration",
".module.ts$",
".spec.ts$",
".dto.ts$",
".entity.ts$",
"main.ts$",
"ormconfig.ts$",
".seed.ts$",
".factory.ts$",
"src/migration"
],
"testEnvironment": "node"
}
}