This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 3.16 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
{
"name": "mx-server-next",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"",
"start": "NODE_ENV=development nest start -w ",
"start:debug": "NODE_ENV=development nest start --debug --watch",
"start:prod": "NODE_ENV=production node dist/main",
"prod": "NODE_ENV=production pm2-runtime start ecosystem.config.js",
"prod:pm2": "NODE_ENV=production pm2 restart ecosystem.config.js",
"prod:stop": "pm2 stop ecosystem.config.js",
"prod:debug": "NODE_ENV=production nest start --debug --watch",
"lint": "eslint \"{src,apps,libs}/**/*.ts\" --cache --fix",
"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 --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "7.5.5",
"@nestjs/config": "0.5.0",
"@nestjs/core": "7.5.5",
"@nestjs/graphql": "7.7.0",
"@nestjs/jwt": "7.2.0",
"@nestjs/passport": "7.1.4",
"@nestjs/platform-express": "7.5.5",
"@typegoose/auto-increment": "0.6.0",
"@typegoose/typegoose": "7.4.2",
"@types/bcrypt": "3.0.0",
"apollo-server-express": "2.19.0",
"bcrypt": "5.0.0",
"class-transformer": "0.3.1",
"class-validator": "0.12.2",
"dayjs": "1.9.6",
"graphql": "15.4.0",
"graphql-tools": "7.0.1",
"mongoose": "5.10.15",
"mongoose-lean-virtuals": "0.7.4",
"mongoose-unique-validator": "2.0.3",
"nanoid": "3.1.18",
"nestjs-typegoose": "7.1.38",
"passport": "0.4.1",
"passport-jwt": "4.0.0",
"passport-local": "1.0.0",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "6.6.3",
"ua-parser-js": "0.7.22"
},
"devDependencies": {
"@nestjs/cli": "7.5.3",
"@nestjs/schematics": "7.1.4",
"@nestjs/testing": "7.5.5",
"@types/express": "4.17.9",
"@types/jest": "26.0.15",
"@types/lodash": "4.14.165",
"@types/mongoose": "5.10.1",
"@types/node": "13.13.21",
"@types/passport-local": "1.0.33",
"@types/supertest": "2.0.10",
"@types/ua-parser-js": "0.7.33",
"@typescript-eslint/eslint-plugin": "4.8.2",
"@typescript-eslint/parser": "4.8.2",
"eslint": "7.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"jest": "26.6.3",
"prettier": "2.1.2",
"supertest": "6.0.1",
"ts-jest": "26.2.0",
"ts-loader": "8.0.11",
"ts-node": "9.0.0",
"tsconfig-paths": "3.9.0",
"typescript": "4.0.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/src/",
"<rootDir>/libs/"
],
"moduleNameMapper": {
"@libs/db/(.*)": "<rootDir>/libs/db/src/$1",
"@libs/db": "<rootDir>/libs/db/src"
}
}
}