-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.71 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
{
"name": "commerce",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"main": "main",
"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 --exec 'node --inspect-brk' --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/commerce/test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "7.6.5",
"@nestjs/core": "7.6.5",
"@nestjs/graphql": "7.9.4",
"@nestjs/microservices": "^7.6.5",
"@nestjs/platform-express": "^7.6.5",
"@nestjs/platform-fastify": "^7.6.5",
"@nestjs/typeorm": "^7.1.5",
"@types/bcryptjs": "^2.4.2",
"@types/ioredis": "^4.17.11",
"apollo-server": "2.19.1",
"apollo-server-fastify": "^2.19.1",
"bcryptjs": "^2.4.3",
"class-transformer": "0.3.1",
"class-validator": "0.12.2",
"dataloader": "^2.0.0",
"dotenv": "^8.2.0",
"fastify-compress": "^3.4.1",
"fastify-rate-limit": "^5.0.0",
"graphql": "15.4.0",
"graphql-query-complexity": "0.7.2",
"graphql-subscriptions": "1.1.0",
"helmet": "^4.3.1",
"hpp": "^0.2.3",
"ioredis": "^4.19.4",
"jsonwebtoken": "^8.5.1",
"mongodb": "^3.6.3",
"reflect-metadata": "0.1.13",
"rimraf": "^3.0.2",
"rxjs": "6.6.3",
"stripe": "^8.129.0",
"typeorm": "^0.2.29",
"x-xss-protection": "^2.0.0"
},
"devDependencies": {
"@graphql-tools/relay-operation-optimizer": "6.0.0",
"@nestjs/cli": "7.5.4",
"@nestjs/schematics": "7.2.6",
"@nestjs/testing": "7.6.5",
"@types/graphql": "*",
"@types/jest": "^26.0.15",
"@types/node": "14.14.14",
"@types/supertest": "2.0.10",
"@typescript-eslint/eslint-plugin": "4.11.0",
"@typescript-eslint/parser": "4.11.0",
"eslint": "7.17.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"graphql-tools": "^7.0.2",
"jest": "26.6.3",
"pg": "^8.5.1",
"prettier": "2.2.1",
"redis": "^3.0.2",
"supertest": "6.0.1",
"ts-jest": "26.4.4",
"ts-loader": "8.0.13",
"ts-node": "9.1.1",
"tsconfig-paths": "3.9.0",
"typescript": "4.1.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/apps/",
"<rootDir>/libs/"
],
"moduleNameMapper": {
"@commerce/shared/(.*)": "<rootDir>/libs/shared/src/$1",
"@commerce/shared": "<rootDir>/libs/shared/src",
"@commerce/users/(.*)": "<rootDir>/apps/users/src/$1",
"@commerce/users": "<rootDir>/apps/users/src",
"@commerce/orders/(.*)": "<rootDir>/apps/orders/src/$1",
"@commerce/orders": "<rootDir>/apps/orders/src",
"@commerce/payments/(.*)": "<rootDir>/apps/payments/src/$1",
"@commerce/payments": "<rootDir>/apps/payments/src",
"@commerce/products/(.*)": "<rootDir>/apps/products/src/$1",
"@commerce/products": "<rootDir>/apps/products/src",
"@commerce/gateway/(.*)": "<rootDir>/apps/gateway/src/$1",
"@commerce/gateway": "<rootDir>/apps/gateway/src"
}
}
}