-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.6 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
{
"name": "youtube-backend",
"private": true,
"version": "1.0.0",
"description": "Backend of a Youtube-like application built in Express",
"main": "dist/server.js",
"scripts": {
"build": "rm -rf dist/ && npx tsc && npx tsc-alias -p tsconfig.json",
"build:watch": "npm run build && (concurrently \"tsc -w\" \"tsc-alias -w\")",
"format": "prettier \"{src,apps,libs}/**/*.{ts,tsx,js,jsx,json}\" --ignore-path .gitignore",
"format:check": "pnpm format --check",
"format:write": "pnpm format --write",
"start": "npm run build && node dist/server.js",
"dev:nodemon": "nodemon",
"dev": "concurrently --kill-others \"tsc -w --noEmit --preserveWatchOutput\" \"tsx watch --clear-screen=false src/server.ts\"",
"tsc": "tsc",
"test:types": "tsc --noEmit",
"test": "npm run lint && npm run test:types",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"validate": "npm run format:write && npm run tsc && npm run lint",
"prepare": "husky install",
"cm": "cz",
"cm:offline": "git add . && cz",
"cm:all": "git add . && cz && git push"
},
"lint-staged": {
"**/*.ts": [
"bash -c \"tsc-files --noEmit\""
]
},
"nodemonConfig": "nodemon.json",
"author": "Vaibhav Chopra",
"license": "ISC",
"engines": {
"node": "20.x"
},
"keywords": [
"backend",
"typescript",
"express",
"youtube",
"mongodb",
"mongoose",
"cloudinary",
"jwt"
],
"dependencies": {
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"argon2": "^0.31.1",
"axios": "^1.7.7",
"chalk": "^4.1.2",
"cloudinary": "^1.41.0",
"cookie-parser": "^1.0.0",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"env-var": "^7.4.1",
"express": "^4.21.0",
"express-rate-limit": "^5.5.1",
"fluent-ffmpeg": "^2.1.2",
"get-video-duration": "^4.1.0",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^7.5.3",
"mongoose-aggregate-paginate-v2": "^1.0.6",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"rate-limiter-flexible": "^5.0.3",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^4.1.2",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"winston-daily-rotate-file": "^5.0.0",
"ws": "^8.16.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@faker-js/faker": "^8.4.0",
"@swc/core": "^1.3.104",
"@swc/helpers": "^0.5.3",
"@types/cookie-parser": "^1.4.4",
"@types/cors": "^2.8.14",
"@types/eslint": "^8.44.7",
"@types/express": "^4.17.18",
"@types/fluent-ffmpeg": "^2.1.24",
"@types/jsonwebtoken": "^9.0.3",
"@types/mongoose-aggregate-paginate-v2": "^1.0.12",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.11",
"@types/node": "^20.8.2",
"@types/nodemon": "^1.19.5",
"@types/regenerator-runtime": "^0.13.4",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^9.0.7",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"commitizen": "^4.3.1",
"concurrently": "^8.2.2",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.10",
"nodemon": "^3.0.3",
"prettier": "^3.0.3",
"regenerator-runtime": "^0.14.0",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.8",
"tsc-files": "^1.1.4",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
},
"optionalDependencies": {
"bufferutil": "^4.0.8"
}
}