-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.52 KB
/
package.json
File metadata and controls
138 lines (138 loc) · 4.52 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
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
{
"name": "app",
"version": "0.0.1",
"description": "",
"author": "",
"type": "commonjs",
"private": true,
"license": "MIT",
"scripts": {
"build": "rimraf ./dist && nest build",
"dev": "nest start --watch",
"docker:up": "docker-compose -f ./.docker/docker-compose.yml up -d",
"docker:down": "docker-compose -f ./.docker/docker-compose.yml down",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint . --config ./.eslintrc.js --ext js,jsx,ts,tsx --fix",
"prepare": "husky install",
"pre-commit": "lint-staged",
"prismix": "npx prismix && prisma format",
"seed": "npx prisma db seed",
"prisma:generate": "prisma generate",
"prisma:migrate:dev": "prisma migrate dev",
"prisma:migrate:prod": "prisma migrate deploy",
"prisma:seed:dev": "prisma db seed",
"prisma:seed:prod": "node dist/prisma/seed/seed.js",
"prisma:push": "npx prisma db push",
"start": "nest start",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/src/main",
"start:migrate:dev": "yarn prisma:migrate:dev && yarn prisma:seed:dev && yarn start:dev",
"start:migrate:prod": "yarn prisma:migrate:prod && yarn prisma:seed:prod && yarn start:prod",
"test": "jest --passWithNoTests --silent --noStackTrace --runInBand",
"test:watch": "npm test -- --watch --runInBand",
"test:ci": "npm test -- --coverage",
"test:staged": "npm test -- --findRelatedTests",
"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"
},
"dependencies": {
"@nestjs-modules/mailer": "^1.7.1",
"@nestjs/bull": "^10.0.1",
"@nestjs/common": "^9.0.0",
"@nestjs/config": "^3.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/jwt": "^10.1.0",
"@nestjs/passport": "^10.0.0",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/swagger": "^6.3.0",
"@nestjsplus/redirect": "^1.0.0",
"@prisma/client": "^5.1.1",
"@willsoto/nestjs-prometheus": "^5.3.0",
"bcrypt-nodejs": "^0.0.3",
"bull": "^4.11.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"class-validator-cpf": "^1.1.1",
"dotenv": "^10.0.0",
"ejs": "^3.1.9",
"moment": "^2.29.4",
"nestjs-prisma": "^0.22.0",
"nodemailer": "^6.9.4",
"passport": "^0.6.0",
"passport-facebook": "^3.0.0",
"passport-google-oauth20": "^2.0.0",
"passport-instagram": "^1.0.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"prom-client": "^14.2.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^5.0.1",
"rxjs": "^7.2.0",
"swagger-ui-express": "^4.6.3",
"triple-beam": "^1.4.1",
"winston": "^3.10.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@nestjs/cli": "^9.0.0",
"@nestjs/schematics": "^9.0.0",
"@nestjs/testing": "^9.0.0",
"@types/ejs": "^3.1.2",
"@types/express": "^4.17.13",
"@types/jest": "29.5.1",
"@types/node": "18.16.12",
"@types/nodemailer": "^6.4.9",
"@types/passport-facebook": "^2.1.11",
"@types/passport-google-oauth20": "^2.0.11",
"@types/passport-instagram": "^1.0.2",
"@types/passport-jwt": "^3.0.9",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"dotenv": "^10.0.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prisma": "^0.1.0",
"eslint-plugin-deprecation": "^1.4.1",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-tsdoc": "^0.2.17",
"husky": "^8.0.3",
"jest": "29.5.0",
"lint-staged": "^13.2.2",
"prettier": "^2.3.2",
"prisma": "^5.1.1",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "29.1.0",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "4.2.0",
"typescript": "^5.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": "test/.*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.(t|j)s",
"!src/**/*demo*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"verbose": true
},
"prisma": {
"seed": "ts-node ./prisma/seed/seed.ts"
}
}