-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
171 lines (171 loc) · 5.73 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "template",
"version": "0.1.0",
"description": "",
"author": {
"name": "PixelPlex Inc.",
"email": "[email protected]"
},
"engines": {
"yarn": ">=1.22.19",
"node": ">=20.11.0"
},
"private": true,
"license": "UNLICENSED",
"scripts": {
"audit": "audit-ci --config audit-ci.json",
"build:all": "concurrently \"yarn build:api\"",
"build:api": "nest build api",
"build:sdk": "nest build --builder tsc api-client-types",
"commit": "git-cz",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"lint": "eslint --cache \"{src,apps,libs,test}/**/*.ts\"",
"lint:fix": "eslint --cache \"{src,apps,libs,test}/**/*.ts\" --fix",
"migrate:create": "yarn typeorm:cli migration:create",
"migrate:generate": "yarn typeorm:cli migration:generate -d ./datasource.ts",
"migrate:revert": "yarn typeorm:cli migration:revert -d ./datasource.ts",
"migrate:run": "yarn typeorm:cli migration:run -d ./datasource.ts",
"migrate:show": "yarn typeorm:cli migration:show -d ./datasource.ts",
"postbuild:sdk": "cp libs/api-client-types/package.json dist/libs/api-client-types && cp libs/api-client-types/README.md dist/libs/api-client-types",
"prebuild": "rimraf dist",
"prebuild:sdk": "openapi --exportCore false --exportServices false --input ./api-openapi.json --output ./libs/api-client-types/src",
"prepare": "husky",
"run-script": "TS_NODE_PROJECT=./tsconfig.json ts-node -r tsconfig-paths/register",
"start:api": "nest start api",
"start:api:debug": "nest start api --debug --watch",
"start:api:dev": "nest start api --watch",
"start:api:prod": "node dist/apps/api/main",
"test": "jest",
"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/template/test/jest-e2e.json",
"test:watch": "jest --watch",
"type-check": "tsc --pretty --noEmit",
"typeorm:cli": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.598.0",
"@aws-sdk/hash-node": "^3.374.0",
"@aws-sdk/lib-storage": "^3.669.0",
"@aws-sdk/protocol-http": "^3.374.0",
"@aws-sdk/s3-request-presigner": "^3.669.0",
"@aws-sdk/url-parser": "^3.374.0",
"@aws-sdk/util-format-url": "^3.664.0",
"@golevelup/nestjs-discovery": "^4.0.1",
"@nestjs/common": "^10.4.4",
"@nestjs/core": "^10.4.4",
"@nestjs/jwt": "^10.2.0",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.4.4",
"@nestjs/swagger": "^7.4.2",
"@nestjs/typeorm": "^10.0.2",
"@pixelplex/mail-service": "^0.2.4",
"@ppx-node/api-decorators": "^0.3.3",
"@sentry/node": "^6.19.7",
"axios": "^1.7.7",
"bcrypt": "^5.1.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"config": "^3.3.12",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"elastic-apm-node": "^4.7.3",
"express": "^4.19.2",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"pg": "^8.12.0",
"randomstring": "^1.3.0",
"reflect-metadata": "^0.1.14",
"rimraf": "^5.0.5",
"rxjs": "^7.8.1",
"speakeasy": "^2.0.0",
"swagger-ui-express": "^4.6.3",
"typeorm": "^0.3.20",
"validator": "^13.12.0",
"winston": "^3.14.2"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.4.1",
"@commitlint/cz-commitlint": "^19.4.0",
"@nestjs/cli": "^10.4.5",
"@nestjs/schematics": "^10.1.4",
"@nestjs/testing": "^10.4.1",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/bcrypt": "^5.0.2",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.7",
"@types/node": "^20.16.5",
"@types/passport-jwt": "^3.0.13",
"@types/randomstring": "^1.3.0",
"@types/speakeasy": "^2.0.10",
"@types/supertest": "^2.0.16",
"@types/validator": "^13.12.1",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"audit-ci": "^7.1.0",
"commitizen": "^4.3.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^9.1.6",
"jest": "^29.7.0",
"lint-staged": "^13.3.0",
"openapi-typescript-codegen": "^0.29.0",
"prettier": "^2.8.8",
"pretty-quick": "^3.3.1",
"supertest": "^6.3.4",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.6.3"
},
"resolutions": {
"micromatch": "4.0.8",
"braces": "3.0.3",
"tar": "6.2.1"
},
"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": {
"@libs/utils/(.*)": "<rootDir>/libs/utils/src/$1",
"@libs/utils": "<rootDir>/libs/utils/src",
"^@libs/typeorm-ext(|/.*)$": "<rootDir>/libs/typeorm-ext/src/$1",
"^@libs/api-client-types(|/.*)$": "<rootDir>/libs/api-client-types/src/$1",
"^@libs/s3(|/.*)$": "<rootDir>/libs/s3/src/$1",
"^@libs/nestjs-logger(|/.*)$": "<rootDir>/libs/nestjs-logger/src/$1"
}
},
"lint-staged": {
"*.ts": "eslint --fix"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
}
}