-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
107 lines (107 loc) · 2.9 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
{
"name": "nestjs-cqrs-starter",
"version": "0.0.1",
"description": "NestJS CQRS Microservices Starter",
"author": "Hardys",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"{apps,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\" --max-warnings 0",
"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/gateway/test/jest-e2e.json"
},
"dependencies": {
"@juicycleff/nestjs-event-store": "3.1.18",
"@nestjs/common": "8.4.7",
"@nestjs/core": "8.4.7",
"@nestjs/cqrs": "8.0.5",
"@nestjs/graphql": "9.1.2",
"@nestjs/platform-express": "8.4.7",
"@nestjs/typeorm": "8.1.4",
"apollo-server-core": "3.9.0",
"apollo-server-express": "3.9.0",
"graphql": "16.5.0",
"graphql-tools": "8.2.12",
"mysql": "2.18.1",
"node-eventstore-client": "0.2.18",
"node-nats-streaming": "0.3.2",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.5.5",
"type-graphql": "1.1.1",
"typeorm": "0.2.45"
},
"devDependencies": {
"@commitlint/cli": "17.0.2",
"@commitlint/config-conventional": "17.0.2",
"@nestjs/cli": "8.2.6",
"@nestjs/schematics": "8.0.11",
"@nestjs/testing": "8.4.7",
"@types/express": "4.17.13",
"@types/jest": "28.1.2",
"@types/node": "16.11.41",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"eslint": "8.18.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"husky": "8.0.1",
"jest": "28.1.1",
"lint-staged": "13.0.2",
"prettier": "2.7.1",
"supertest": "6.2.3",
"ts-jest": "28.0.5",
"ts-loader": "9.3.0",
"ts-node": "10.8.1",
"tsconfig-paths": "4.0.0",
"typescript": "4.7.4"
},
"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": {
"@hardyscc/common/(.*)": "<rootDir>/libs/common/src/$1",
"@hardyscc/common": "<rootDir>/libs/common/src"
}
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}