-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
93 lines (93 loc) · 2.85 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
{
"name": "@otasoft/microservice-template",
"version": "1.1.1",
"description": "Nest.js based microservice repository template",
"author": "Jakub Andrzejewski",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.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 ./test/jest-e2e.json"
},
"dependencies": {
"@juicycleff/nestjs-event-store": "^3.1.18",
"@nestjs/common": "^7.6.9",
"@nestjs/config": "^0.6.2",
"@nestjs/core": "^7.6.9",
"@nestjs/cqrs": "^7.0.1",
"@nestjs/microservices": "^7.6.7",
"@nestjs/platform-express": "^7.6.9",
"@nestjs/schedule": "^0.4.2",
"@nestjs/terminus": "^7.1.0",
"@nestjs/typeorm": "^7.1.5",
"amqp-connection-manager": "^3.2.1",
"amqplib": "^0.6.0",
"module-alias": "^2.2.2",
"node-eventstore-client": "^0.2.18",
"node-nats-streaming": "^0.3.2",
"pg": "^8.5.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.4",
"typeorm": "^0.2.30"
},
"devDependencies": {
"@nestjs/cli": "^7.0.0",
"@nestjs/schematics": "^7.2.7",
"@nestjs/testing": "^7.6.7",
"@types/express": "^4.17.11",
"@types/jest": "26.0.20",
"@types/node": "^14.14.22",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "4.14.1",
"@typescript-eslint/parser": "4.14.1",
"eslint": "7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.20.1",
"jest": "26.6.3",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"ts-jest": "26.4.4",
"ts-loader": "^8.0.14",
"ts-node": "9.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.1.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"@infrastructure/(.*)": "<rootDir>/item/infrastructure/$1",
"@domain/(.*)": "<rootDir>/item/domain/$1",
"@application/(.*)": "<rootDir>/item/application/$1",
"@database/(.*)": "<rootDir>/database/$1",
"@test/(.*)": "<rootDir>/../test/$1"
}
},
"_moduleAliases": {
"@infrastructure": "dist/item/infrastructure",
"@domain": "dist/item/domain",
"@application": "dist/item/application",
"@database": "dist/database"
}
}