forked from PalisadoesFoundation/talawa-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
167 lines (167 loc) · 5.89 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
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "talawa-api",
"version": "1.0.0",
"description": "talawa-api is a backend repository written using Node.js and graphql for generating APIs for the talawa flutter app.",
"main": "./build/server.js",
"scripts": {
"build": "tsc --pretty --project tsconfig.build.json",
"dev": "concurrently \"tsx --watch ./src/index.ts\" \"graphql-codegen --watch\"",
"minio:check": "tsc ./src/minioInstallationCheck.ts --outDir ./build && node ./build/minioInstallationCheck.js",
"dev:with-minio": "concurrently \"npm run minio:check\" \"tsx --watch ./src/index.ts\" \"graphql-codegen --watch\"",
"start:with-minio": "concurrently \"npm run minio:check\" \"cross-env pm2-runtime start ./build/server.js\"",
"prebuild": "graphql-codegen && rimraf ./build",
"prod": "cross-env NODE_ENV=production pm2-runtime start ./build/server.js",
"start": "cross-env pm2-runtime start ./build/server.js --watch",
"setup": "tsx setup.ts",
"test": "vitest run --pool=threads --no-file-parallelism --coverage",
"typecheck": "graphql-codegen && tsc --noEmit --pretty",
"lint:check": "eslint . --max-warnings=1500 && python .github/workflows/eslint_disable_check.py",
"lint:fix": "eslint . --fix",
"lint-staged": "lint-staged",
"format:fix": "prettier --write \"**/*.{ts,tsx,json,scss,css}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,json,scss,css}\"",
"check-tsdoc": "node .github/workflows/check-tsdoc.js",
"prepare": "husky",
"generate:graphql-markdown": "graphql-markdown http://localhost:4000/graphql > docs/Schema.md",
"generate:graphql-schema": "get-graphql-schema http://localhost:4000/graphql --json > docs/schema.json",
"generate:ssl-private-key": "openssl genrsa -out ./key.pem",
"import:sample-data": "tsx ./src/utilities/loadSampleData.ts",
"import:sample-data:prod": "node ./build/utilities/loadSampleData.js",
"gen:schema": "graphql-inspector introspect ./src/typeDefs/**/**/*.ts --write ./schema.graphql ",
"update:toc": "node scripts/githooks/update-toc.js"
},
"repository": {
"type": "git",
"url": "https://github.com/PalisadoesFoundation/talawa-api"
},
"keywords": [
"chats",
"events",
"organization",
"community"
],
"author": "Palisadoes Foundation",
"license": "GNU General Public License v3.0",
"bugs": {
"url": "https://github.com/PalisadoesFoundation/talawa-api/issues"
},
"homepage": "https://github.com/PalisadoesFoundation/talawa-api#readme",
"dependencies": {
"@apollo/server": "^4.11.2",
"@aws-sdk/client-s3": "^3.675.0",
"@faker-js/faker": "^9.0.1",
"@graphql-inspector/cli": "^5.0.6",
"@graphql-tools/resolvers-composition": "^7.0.2",
"@graphql-tools/schema": "^10.0.6",
"@graphql-tools/utils": "^10.3.2",
"@parcel/watcher": "^2.4.1",
"@types/graphql-upload": "^16.0.5",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.11.0",
"axios": "^1.7.7",
"bcryptjs": "^2.4.3",
"bluebird": "3.7.2",
"cls-hooked": "^4.2.2",
"copy-paste": "^1.5.3",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"date-fns": "^4.1.0",
"dotenv": "^16.4.1",
"express": "^4.19.2",
"express-mongo-sanitize": "^2.2.0",
"express-rate-limit": "^7.4.1",
"graphql": "^16.9.0",
"graphql-depth-limit": "^1.1.0",
"graphql-scalars": "^1.20.1",
"graphql-subscriptions": "^2.0.0",
"graphql-tag": "^2.12.6",
"graphql-upload": "^17.0.0",
"graphql-voyager": "^2.1.0",
"graphql-ws": "^5.16.0",
"helmet": "^8.0.0",
"i18n": "^0.15.1",
"image-hash": "^5.3.1",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.0",
"jwt-decode": "^4.0.0",
"lodash": "^4.17.21",
"markdown-toc": "^1.2.0",
"mongodb": "^6.8.0",
"mongoose": "^8.3.2",
"mongoose-paginate-v2": "^1.8.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"nanoid": "^5.0.7",
"nodemailer": "^6.9.16",
"pm2": "^5.4.0",
"redis": "^4.7.0",
"rrule": "^2.8.1",
"typedoc-plugin-markdown": "^4.2.7",
"uuid": "^11.0.1",
"validator": "^13.12.0",
"winston": "^3.15.0",
"ws": "^8.18.0",
"yargs": "^17.7.2",
"zod": "^3.23.8",
"zod-error": "^1.5.0"
},
"devDependencies": {
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^2.1.4",
"@eslint/js": "^8.57.0",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/typescript": "^4.1.0",
"@graphql-codegen/typescript-resolvers": "^4.2.1",
"@graphql-eslint/eslint-plugin": "^3.20.1",
"@parcel/watcher": "^2.4.1",
"@types/bcryptjs": "^2.4.6",
"@types/cls-hooked": "^4.3.9",
"@types/copy-paste": "^1.1.30",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.17",
"@types/express-rate-limit": "^6.0.2",
"@types/graphql-depth-limit": "^1.1.6",
"@types/i18n": "^0.13.12",
"@types/inquirer": "^9.0.7",
"@types/jsonwebtoken": "^9.0.7",
"@types/lodash": "^4.17.13",
"@types/mongoose-paginate-v2": "^1.6.5",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.12",
"@types/node": "^22.9.0",
"@types/nodemailer": "^6.4.16",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@types/validator": "^13.12.2",
"@vitest/coverage-v8": "^2.1.3",
"cls-bluebird": "^2.1.0",
"concurrently": "^9.0.1",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-tsdoc": "^0.3.0",
"get-graphql-schema": "^2.1.2",
"globals": "^15.12.0",
"graphql-markdown": "^7.3.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"supertest": "^7.0.0",
"tsx": "^4.19.1",
"typescript": "^5.5.4",
"vitest": "^2.1.3"
},
"overrides": {
"graphql-voyager": {
"graphql": "^16.6.0"
}
},
"lint-staged": {
"**/*.{ts,json}": [
"prettier --write"
],
"**/*.ts": "eslint --fix"
}
}