-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
121 lines (121 loc) · 3.8 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
{
"name": "od-backend",
"version": "0.0.7",
"license": "GPL-3.0-or-later",
"homepage": "https://open-dating.org/",
"bugs": {
"url": "https://github.com/open-dating/od-backend/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/open-dating/od-backend.git"
},
"author": "Gabdrashitov Rinat <[email protected]>",
"scripts": {
"prebuild": "rimraf dist/*",
"build": "nest build",
"start:dev": "cross-env NODE_ENV=development nest start --watch",
"start:debug": "cross-env NODE_ENV=development nest start --debug --watch",
"start:prod": "cross-env NODE_ENV=production node dist/src/main",
"start:migrate-n-dev": "npm run typeorm:run && npm run start:debug",
"lint": "tslint -p tsconfig.json -c tslint.json",
"lint:fix": "tslint -p tsconfig.json -c tslint.json --fix",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config src/config/orm.migration.ts",
"typeorm:generate": "npm run typeorm migration:generate -- -n",
"typeorm:run": "npm run typeorm migration:run",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --passWithNoTests --coverage",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./jest-e2e.json --coverage",
"docker:dev": "docker-compose -f docker-compose.dev.yml up",
"docker:test": "docker-compose -f docker-compose.test.yml up",
"docker:exec:test": "docker exec od-backend-node npm run test"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run lint"
}
},
"dependencies": {
"@nestjs/common": "^6.7.2",
"@nestjs/core": "^6.7.2",
"@nestjs/jwt": "^6.1.1",
"@nestjs/passport": "^6.1.1",
"@nestjs/platform-express": "^6.7.2",
"@nestjs/platform-socket.io": "^6.10.14",
"@nestjs/swagger": "^4.1.2",
"@nestjs/typeorm": "^6.2.0",
"@nestjs/websockets": "^6.10.14",
"@ntegral/nestjs-sentry": "^1.0.0",
"@turf/turf": "^5.1.6",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.0",
"dotenv": "^8.2.0",
"faker": "^4.1.0",
"firebase-admin": "^8.9.2",
"form-data": "^3.0.0",
"glob": "^7.1.6",
"got": "^10.2.1",
"internal-ip": "^6.0.0",
"mathjs": "^6.6.1",
"mime-db": "^1.43.0",
"moment": "^2.24.0",
"nodemailer": "^6.4.2",
"osm-countries-bounds": "^0.1.0",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"pg": "^7.17.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^6.5.3",
"sharp": "^0.23.4",
"string-strip-html": "^4.3.14",
"swagger-ui-express": "^4.1.2",
"tslib": "^1.11.1",
"typeorm": "^0.2.22",
"uuid": "^3.3.3"
},
"devDependencies": {
"@nestjs/cli": "^6.9.0",
"@nestjs/schematics": "^6.7.0",
"@nestjs/testing": "^6.7.1",
"@types/express": "^4.17.1",
"@types/faker": "^4.1.8",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.18",
"@types/mathjs": "^6.0.4",
"@types/node": "^12.7.5",
"@types/nodemailer": "^6.4.0",
"@types/passport-jwt": "^3.0.3",
"@types/sharp": "^0.23.1",
"@types/socket.io": "^2.1.4",
"@types/supertest": "^2.0.8",
"cross-env": "^7.0.2",
"husky": "^4.2.5",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-loader": "^6.1.1",
"ts-node": "^8.4.1",
"tsconfig-paths": "^3.9.0",
"tslint": "^5.20.0",
"typescript": "^3.6.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}