This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
115 lines (115 loc) · 3.76 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
{
"name": "backend",
"version": "0.0.1",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --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 ./apps/backend/test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^6.11.8",
"@nestjs/config": "^0.2.3",
"@nestjs/core": "^6.11.8",
"@nestjs/graphql": "^6.5.5",
"@nestjs/jwt": "^6.1.1",
"@nestjs/passport": "^6.2.0",
"@nestjs/platform-express": "^6.11.8",
"@nestjs/typeorm": "^6.3.3",
"@types/bcrypt": "^3.0.0",
"@types/graphql-type-json": "^0.3.2",
"apollo-server-express": "^2.10.1",
"bcrypt": "^4.0.0",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.0",
"graphql": "^14.6.0",
"graphql-tools": "^4.0.7",
"graphql-type-json": "^0.3.1",
"gravatar": "^1.8.0",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"pg": "^7.18.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.4",
"transliteration": "^2.1.8",
"type-graphql": "^0.17.6",
"typeorm": "^0.2.22"
},
"devDependencies": {
"@nestjs/cli": "^6.14.2",
"@nestjs/schematics": "^6.9.4",
"@nestjs/testing": "^6.11.8",
"@types/express": "^4.17.2",
"@types/jest": "25.1.3",
"@types/node": "^13.7.4",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.20.0",
"@typescript-eslint/parser": "^2.20.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"supertest": "^4.0.2",
"ts-jest": "25.2.1",
"ts-loader": "^6.2.1",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.8.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/apps/",
"<rootDir>/libs/"
],
"moduleNameMapper": {
"@app/shared/(.*)": "<rootDir>/libs/shared/src/$1",
"@app/shared": "<rootDir>/libs/shared/src",
"@app/common/(.*)": "<rootDir>/libs/common/src/$1",
"@app/common": "<rootDir>/libs/common/src",
"@app/common/database/(.*)": "<rootDir>/libs/common/database/src/$1",
"@app/common/database": "<rootDir>/libs/common/database/src",
"@app/database/(.*)": "<rootDir>/libs/database/src/$1",
"@app/database": "<rootDir>/libs/database/src",
"@app/auth/(.*)": "<rootDir>/libs/auth/src/$1",
"@app/auth": "<rootDir>/libs/auth/src",
"@app/core/(.*)": "<rootDir>/libs/core/src/$1",
"@app/core": "<rootDir>/libs/core/src",
"@app/category/(.*)": "<rootDir>/libs/category/src/$1",
"@app/category": "<rootDir>/libs/category/src",
"@app/article/(.*)": "<rootDir>/libs/article/src/$1",
"@app/article": "<rootDir>/libs/article/src",
"@app/fields/(.*)": "<rootDir>/libs/fields/src/$1",
"@app/fields": "<rootDir>/libs/fields/src",
"@app/tags/(.*)": "<rootDir>/libs/tags/src/$1",
"@app/tags": "<rootDir>/libs/tags/src",
"@app/links/(.*)": "<rootDir>/libs/links/src/$1",
"@app/links": "<rootDir>/libs/links/src"
}
}
}