-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.1 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
{
"name": "social-media-api",
"version": "2.0.0",
"author": "Nikhil Rajput",
"license": "MIT",
"description": "An open-source RESTful API developed using NodeJS, ExpressJS and MongoDB helps you to integrate User Authentication and Social Media Post Management in your application with ease.",
"main": "dist/src/index.js",
"type": "commonjs",
"scripts": {
"dev": "bun --hot src/index.ts",
"start": "bun dist/src/index.js",
"clean": "rimraf -rf dist",
"build": "echo \"✅ Building project...\" && bun run clean && tsc",
"ts:check": "tsc --project tsconfig.json",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --fix --ext .ts",
"push": "git add -A && git commit -m \"Update Changes & Bug Fixes\" && git push origin master"
},
"pre-commit": [
"ts:check",
"build"
],
"devDependencies": {
"@types/body-parser": "^1.19.5",
"@types/bun": "^1.1.6",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/lodash": "^4.17.7",
"@types/morgan": "^1.9.9",
"@types/node": "^20.14.12",
"@types/otp-generator": "^4.0.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^9.7.0",
"pre-commit": "^1.2.2",
"rimraf": "^5.0.9"
},
"dependencies": {
"@getbrevo/brevo": "2.1.0",
"@sendgrid/mail": "^8.1.3",
"axios": "^1.7.2",
"body-parser": "^1.20.2",
"cloudinary": "^2.3.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.19.2",
"express-rate-limit": "^7.4.0",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"mongoose": "^8.5.1",
"morgan": "^1.10.0",
"node-cron": "^3.0.3",
"otp-generator": "^4.0.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"url": "^0.11.3",
"winston": "^3.13.1"
},
"peerDependencies": {
"typescript": "^5.4.5"
},
"engines": {
"node": "20.x",
"bun": "1.1.x"
}
}