/
package.json
108 lines (108 loc) · 3.17 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
{
"name": "trivia-quiz-api",
"version": "1.0.0",
"description": "Trivia Quiz API",
"author": "Alessandro Di Dio",
"private": true,
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "https://github.com/fooddilsn/trivia-quiz-api.git"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"prepare": "husky install",
"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",
"lint": "eslint \"{src,test}/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"test": "jest --runInBand",
"test:watch": "npm run test -- --watch",
"test:cov": "npm run test -- --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",
"mongo:migrate": "migrate-mongo create --"
},
"dependencies": {
"@casl/ability": "5.4.3",
"@nestjs/common": "8.2.6",
"@nestjs/config": "1.1.7",
"@nestjs/core": "8.2.6",
"@nestjs/jwt": "8.0.0",
"@nestjs/mongoose": "9.0.2",
"@nestjs/passport": "8.2.0",
"@nestjs/platform-express": "8.2.6",
"@nestjs/swagger": "5.2.0",
"@nestjs/terminus": "8.0.4",
"@types/jsonwebtoken": "8.5.8",
"class-transformer": "0.5.1",
"class-validator": "0.13.2",
"cls-rtracer": "2.6.0",
"joi": "17.6.0",
"migrate-mongo": "8.2.3",
"mongoose": "6.2.1",
"ms": "3.0.0-canary.1",
"passport": "0.5.2",
"passport-jwt": "4.0.0",
"passport-local": "1.0.0",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.5.4",
"swagger-ui-express": "4.3.0",
"winston": "3.5.1",
"winston-transport": "4.5.0"
},
"devDependencies": {
"@commitlint/cli": "16.1.0",
"@commitlint/config-conventional": "16.0.0",
"@golevelup/ts-jest": "0.3.2",
"@nestjs/cli": "8.2.0",
"@nestjs/schematics": "8.0.5",
"@nestjs/testing": "8.2.6",
"@types/chance": "1.1.3",
"@types/express": "4.17.13",
"@types/jest": "27.0.2",
"@types/migrate-mongo": "8.1.3",
"@types/node": "16.11.22",
"@types/passport-jwt": "3.0.6",
"@types/passport-local": "1.0.34",
"@types/supertest": "2.0.11",
"@typescript-eslint/eslint-plugin": "5.11.0",
"@typescript-eslint/parser": "5.11.0",
"chance": "1.1.8",
"eslint": "8.8.0",
"eslint-config-prettier": "8.3.0",
"eslint-import-resolver-typescript": "2.5.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-unused-imports": "2.0.0",
"husky": "7.0.4",
"jest": "27.5.1",
"lint-staged": "12.3.3",
"prettier": "2.5.1",
"randexp": "0.5.3",
"source-map-support": "0.5.21",
"supertest": "6.2.2",
"ts-jest": "27.1.3",
"ts-loader": "9.2.6",
"ts-node": "10.5.0",
"tsconfig-paths": "3.12.0",
"typescript": "4.5.5"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.ts": "npm run lint"
}
}