-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathpackage.json
113 lines (113 loc) · 3.27 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
{
"name": "rest-api",
"version": "1.37.0",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "concurrently --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
"start:debug": "nodemon --config nodemon-debug.json",
"start:emails": "nodemon --config nodemon-emails.json",
"prestart:prod": "rimraf dist && npm run build",
"start:prod": "node dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'",
"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 --verbose --runInBand --config ./test/jest-e2e.json",
"user:availability": "node ./scripts/set-availability",
"user:import": "ts-node -r tsconfig-paths/register ./scripts/import-mentors.ts",
"user:roles": "node ./scripts/addroles"
},
"dependencies": {
"@nestjs/common": "^6.5.3",
"@nestjs/core": "^6.5.3",
"@nestjs/mongoose": "^6.1.2",
"@nestjs/platform-express": "^6.0.0",
"@nestjs/swagger": "^3.1.0",
"@sendgrid/client": "^6.4.0",
"@sendgrid/mail": "^6.4.0",
"@sentry/node": "^5.7.1",
"class-transformer": "^0.3.1",
"class-validator": "^0.9.1",
"dotenv": "^8.0.0",
"ejs": "^3.1.6",
"express-jwt": "^6.0.0",
"i18n-iso-countries": "^4.3.1",
"iso-639-1": "^2.1.0",
"jwks-rsa": "^1.5.0",
"mongoose": "^5.5.10",
"reflect-metadata": "^0.1.12",
"rimraf": "^2.6.2",
"rxjs": "^6.3.3",
"sharp": "^0.25.2",
"swagger-ui-express": "^4.0.4"
},
"devDependencies": {
"@nestjs/testing": "^6.3.1",
"@types/dotenv": "^6.1.1",
"@types/ejs": "^3.0.7",
"@types/express": "^4.16.1",
"@types/express-jwt": "^0.0.42",
"@types/jest": "^26.0.19",
"@types/node": "^10.12.18",
"@types/supertest": "^2.0.7",
"concurrently": "^4.1.0",
"faker": "^5.1.0",
"husky": "2.7.0",
"jest": "^26.6.3",
"jsonwebtoken": "^8.5.1",
"lint-staged": "^9.4.3",
"minimist": "^1.2.0",
"mongodb-memory-server": "^6.9.2",
"nock": "^13.0.5",
"nodemon": "^1.18.9",
"prettier": "^2.3.0",
"source-map-support": "^0.5.19",
"supertest": "^3.4.1",
"ts-jest": "^26.4.4",
"ts-node": "8.1.0",
"tsconfig-paths": "3.8.0",
"tslint": "5.16.0",
"typescript": "4.1.2",
"wait-on": "^3.2.0"
},
"resolutions": {
"**/**/lodash": "^4.17.13",
"**/**/set-value": "^2.0.1",
"**/**/mixin-deep": "^1.3.2",
"**/**/braces": "^2.3.1",
"**/**/handlebars": "^4.3.0"
},
"jest": {
"collectCoverage": true,
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint -c tslint.json 'src/**/*.ts' --fix",
"git add"
]
}
}