-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 4.72 KB
/
package.json
File metadata and controls
148 lines (148 loc) · 4.72 KB
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
{
"name": "api",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "MIT",
"type": "commonjs",
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "export NODE_ENV=production&& nest start",
"start:dev": "export NODE_ENV=development&& nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"lint:fix": "eslint -c ./eslint.config.mjs \"{src,test}/**/*.ts\" --fix",
"test": "jest",
"test:unit": "jest --testPathPattern='^(?!.*\\.integration\\.spec\\.ts$).*\\.spec\\.ts$'",
"test:integration": "jest --testPathPattern='\\.integration\\.spec\\.ts$'",
"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": "rm -rf dist && jest --config ./test/jest-e2e.json",
"test:e2e:docker": "rm -rf dist && docker-compose -f docker-compose.e2e.yml --env-file ./.test.env up --exit-code-from app",
"g": "plop --plopfile ./generator/plopfile.mjs",
"prepare": "husky",
"typeorm": "export NODE_ENV=production&& ts-node ./node_modules/typeorm/cli.js -d ./src/common/config/ormconfig.ts",
"migration:create": "typeorm-ts-node-commonjs migration:create",
"migration:generate": "yarn typeorm migration:generate",
"migration:show": "yarn typeorm migration:show",
"migration:run": "yarn build && yarn typeorm migration:run",
"migration:revert": "yarn typeorm migration:revert"
},
"dependencies": {
"@apollo/server": "^5.2.0",
"@as-integrations/express5": "^1.1.2",
"@aws-sdk/client-s3": "^3.943.0",
"@aws-sdk/lib-storage": "^3.943.0",
"@aws-sdk/types": "^3.936.0",
"@nestjs/apollo": "^13.2.1",
"@nestjs/axios": "^4.0.1",
"@nestjs/cache-manager": "^3.0.1",
"@nestjs/common": "^11.1.9",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "^11.1.9",
"@nestjs/graphql": "^13.2.0",
"@nestjs/jwt": "^11.0.1",
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-express": "^11.1.9",
"@nestjs/terminus": "^11.0.0",
"@nestjs/typeorm": "^11.0.0",
"apollo-server-core": "^3.13.0",
"apollo-server-express": "^3.13.0",
"axios": "^1.13.2",
"bcrypt": "^6.0.0",
"cache-manager": "^7.2.5",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.3",
"graphql": "^16.12.0",
"graphql-type-json": "^0.3.2",
"graphql-upload": "17",
"ora": "^9.0.0",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pg": "^8.16.3",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.1.2",
"rxjs": "^7.8.2",
"typeorm": "^0.3.27",
"uuid": "^13.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.1",
"@nestjs/cli": "^11.0.14",
"@nestjs/schematics": "^11.0.9",
"@nestjs/testing": "^11.1.9",
"@swc/cli": "^0.7.9",
"@swc/core": "^1.15.3",
"@swc/jest": "^0.2.39",
"@trivago/prettier-plugin-sort-imports": "^6.0.0",
"@types/bcrypt": "^6.0.0",
"@types/express": "^5.0.6",
"@types/graphql-upload": "^17.0.0",
"@types/jest": "30.0.0",
"@types/node": "^24.10.1",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.38",
"@types/supertest": "^6.0.3",
"@types/uuid": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^8.48.1",
"@typescript-eslint/parser": "^8.48.1",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"globals": "^16.5.0",
"husky": "^9.1.7",
"jest": "^30.2.0",
"pg-mem": "^3.0.5",
"plop": "^4.0.4",
"prettier": "^3.7.3",
"source-map-support": "^0.5.21",
"supertest": "^7.1.4",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "5.9.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
"@swc/jest"
],
"^.+\\.mjs$": "@swc/jest"
},
"moduleDirectories": [
"node_modules",
"src"
],
"moduleNameMapper": {
"./src/index-minimal": "./src/index-minimal",
"^src/(.*)$": "<rootDir>/src/$1"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "coverage",
"testEnvironment": "node",
"transformIgnorePatterns": [
"node_modules/(?!(uuid|graphql-upload)/)"
]
}
}