forked from Web-Team-IITI-Gymkhana/tpc-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.99 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 3.99 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
{
"name": "tpc-backend",
"version": "0.0.1",
"description": "This repository contains all the code for tpc-backend.\r The code is written in Typescript using the NestJS Framework.",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start -- -b swc",
"dev": "nest start --watch -- -b swc",
"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",
"upload:data": "ts-node src/upload-data.ts",
"db:sync:prod": "node dist/sync-database.js",
"db:sync:force:prod": "node dist/sync-database.js --force",
"db:sync:alter:prod": "node dist/sync-database.js --alter",
"db:backup:prod": "node dist/backup-database.js",
"db:restore:prod": "node dist/restore-database.js",
"db:restore:latest:prod": "node dist/restore-database.js --latest",
"db:restore:list:prod": "node dist/restore-database.js --list",
"db:migrate:prod": "node dist/migrate-database.js",
"db:migrate:safe:prod": "node dist/migrate-database.js --backup",
"db:migrate:dry:prod": "node dist/migrate-database.js --dry-run"
},
"dependencies": {
"@faker-js/faker": "^9.4.0",
"@nestjs/common": "^10.2.6",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.0.0",
"@nestjs/mapped-types": "*",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/sequelize": "^10.0.0",
"@nestjs/swagger": "^7.3.1",
"@nestjs/throttler": "^6.4.0",
"@nestjs/typeorm": "^11.0.1",
"@types/nodemailer-smtp-transport": "^2.7.8",
"axios": "^1.10.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"dotenv": "^16.4.5",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"jwt-decode": "^4.0.0",
"lodash": "^4.17.21",
"nest-winston": "^1.9.4",
"nodemailer": "^8.0.7",
"passport": "^0.7.0",
"passport-google-oauth20": "^2.0.0",
"passport-jwt": "^4.0.1",
"pg": "^8.20.0",
"pg-hstore": "^2.3.4",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"sequelize": "^6.33.0",
"sequelize-typescript": "^2.1.5",
"swagger-ui-plugin-hierarchical-tags": "^1.0.4",
"typeorm": "^0.3.29",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.2.6",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.2",
"@types/jsonwebtoken": "^9.0.5",
"@types/node": "^20.3.1",
"@types/passport-google-oauth20": "^2.0.14",
"@types/passport-jwt": "^3.0.13",
"@types/sequelize": "^4.28.20",
"@types/supertest": "^2.0.12",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.42.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"main": ".eslintrc.js",
"keywords": []
}