-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
126 lines (126 loc) · 3.92 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
121
122
123
124
125
126
{
"name": "finastra-nodejs-libs",
"private": true,
"version": "0.0.1",
"description": "",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"postbuild": "cpx -v \"libs/oidc/src/services/login-popup.hbs\" dist/libs/oidc/services",
"dev": "npm run start:debug",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/src/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",
"typings:gen": "ts-node generate-typings",
"fix:deps": "npm-force-resolutions"
},
"dependencies": {
"@finastra/ssr-pages": "0.1.6",
"@nestjs/apollo": "^12.2.0",
"@nestjs/common": "^9.0.4",
"@nestjs/config": "^2.2.0",
"@nestjs/core": "^10.4.4",
"@nestjs/graphql": "^12.2.0",
"@nestjs/jwt": "^10.0.1",
"@nestjs/mongoose": "^10.0.10",
"@nestjs/passport": "^9.0.0",
"@nestjs/platform-express": "^10.4.4",
"@nestjs/serve-static": "^4.0.2",
"apollo-server-express": "^3.10.0",
"axios": "^0.27.2",
"connect-mongo": "4.6.0",
"cookie": "^0.5.0",
"cpx": "^1.5.0",
"csurf": "^1.11.0",
"express-session": "^1.17.3",
"flatted": "^3.2.6",
"graphql": "^16.5.0",
"graphql-tools": "^8.3.0",
"helmet": "^5.1.0",
"http-proxy": "^1.18.1",
"mongoose": "^6.4.6",
"npm-force-resolutions": "^0.0.10",
"openid-client": "^4.9.0",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.6",
"url-join": "^4.0.1"
},
"devDependencies": {
"@apollo/gateway": "^2.0.5",
"@golevelup/nestjs-testing": "^0.1.2",
"@nestjs/cli": "^9.4.2",
"@nestjs/schematics": "^9.0.1",
"@nestjs/testing": "^10.4.4",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.5",
"@types/http-proxy": "^1.17.9",
"@types/jest": "^28.1.6",
"@types/mongodb": "^4.0.6",
"@types/node": "^18.0.6",
"@types/passport": "^1.0.9",
"@types/supertest": "^2.0.12",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"jest": "^28.1.3",
"node-mocks-http": "^1.11.0",
"prettier": "^2.7.1",
"supertest": "^6.2.4",
"ts-jest": "^28.0.7",
"ts-loader": "^9.3.1",
"ts-morph": "^15.1.0",
"ts-node": "^10.9.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"
},
"collectCoverageFrom": [
"**/*.(t|j)s",
"!src/**/*.ts",
"!**/index.ts",
"!**/*mock.ts",
"!**/mocks.ts"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/src/",
"<rootDir>/libs/"
],
"moduleNameMapper": {
"@finastra/nestjs-oidc/(.*)": "<rootDir>/libs/oidc/src/$1",
"@finastra/nestjs-oidc": "<rootDir>/libs/oidc/src",
"@finastra/nestjs-proxy/(.*)": "<rootDir>/libs/proxy/src/$1",
"@finastra/nestjs-proxy": "<rootDir>/libs/proxy/src",
"finastra/corporate-accounts/(.*)": "<rootDir>/libs/corporate-accounts/src/$1",
"finastra/corporate-accounts": "<rootDir>/libs/corporate-accounts/src",
"@finastra/nestjs-logger/(.*)": "<rootDir>/libs/logger/src/$1",
"@finastra/nestjs-logger": "<rootDir>/libs/logger/src"
}
}
}