-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
110 lines (110 loc) · 3.95 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
{
"name": "42worl-backend",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"set-infra": "docker-compose -f ./infra/docker-compose.yml up -d && ./infra/wait-for-healthy.sh 42world-backend-db",
"clear-infra": "docker-compose -f ./infra/docker-compose.yml down",
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start": "nest start api --watch",
"start:debug": "nest start api --debug --watch",
"start-admin": "nest start admin",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"prettier": "prettier --write ./**/*.ts",
"typecheck": "find apps/**/tsconfig.* | xargs -I % yarn tsc --noEmit -p %",
"test-set-infra": "./infra/run_test_db.sh && ./infra/wait-for-healthy.sh ft_world-mysql-test",
"test": "PHASE=test jest --maxWorkers=6 --config ./jest.config.json",
"test:watch": "PHASE=test yarn test --watch",
"test:cov": " PHASE=test yarn test --coverage",
"test:e2e": "PHASE=test jest --runInBand --config ./apps/api/test/e2e/jest-e2e.json ./apps/api/test/e2e/*.e2e-spec.ts",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config libs/common/src/database/ormconfig.ts",
"typeorm:migrate": "yarn typeorm migration:generate -n",
"typeorm:run": "yarn typeorm migration:run",
"typeorm:revert": "yarn typeorm migration:revert",
"seed": "ts-node -r tsconfig-paths/register libs/common/src/database/seed.ts"
},
"dependencies": {
"@adminjs/express": "^4.1.0",
"@adminjs/nestjs": "^4.0.1",
"@adminjs/typeorm": "^2.0.2",
"@aws-sdk/client-secrets-manager": "^3.317.0",
"@nestjs/common": "^8.0.0",
"@nestjs/config": "^1.1.6",
"@nestjs/core": "^9.0.5",
"@nestjs/jwt": "^8.0.0",
"@nestjs/mapped-types": "^1.0.1",
"@nestjs/passport": "^8.0.1",
"@nestjs/platform-express": "^8.0.0",
"@nestjs/schedule": "^1.1.0",
"@nestjs/swagger": "^5.1.5",
"@nestjs/typeorm": "10.0.0",
"@sentry/node": "^6.19.6",
"adminjs": "^5.7.3",
"app-root-path": "^3.0.0",
"aws-sdk": "^2.1074.0",
"axios": "^1.6.0",
"bcryptjs": "^2.4.3",
"cache-manager": "^3.6.0",
"cache-manager-ioredis": "^2.1.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"cookie-parser": "^1.4.6",
"csurf": "^1.11.0",
"ejs": "^3.1.6",
"express": "^4.17.3",
"express-formidable": "^1.2.0",
"express-session": "^1.17.2",
"morgan": "^1.10.0",
"mysql2": "^2.3.3",
"nest-aws-sdk": "^2.1.0",
"nest-winston": "^1.6.2",
"passport": "^0.6.0",
"passport-github2": "^0.1.12",
"passport-jwt": "^4.0.0",
"process": "^0.11.10",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"swagger-ui-express": "^4.3.0",
"typeorm": "0.3.16",
"typeorm-naming-strategies": "^2.0.0",
"winston": "^3.6.0",
"winston-daily-rotate-file": "^4.6.1"
},
"devDependencies": {
"@nestjs/cli": "^8.0.0",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@types/cache-manager": "^3.4.2",
"@types/cache-manager-ioredis": "^2.0.2",
"@types/cookie-parser": "^1.4.2",
"@types/cron": "^1.7.3",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.1",
"@types/node": "^16.0.0",
"@types/passport-github": "^1.1.7",
"@types/passport-jwt": "^3.0.6",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.6",
"jest-mock-extended": "^2.0.7",
"prettier": "^2.3.2",
"prettier-plugin-organize-imports": "^2.3.4",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-mockito": "^2.6.1",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "4.3.5"
}
}