-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
131 lines (131 loc) · 4.37 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
{
"name": "userbase-api-server-template",
"version": "1.0.0",
"description": "user managemnet api server template",
"main": "build/index.js",
"repository": "[email protected]:usmansbk/userbase-api-server-template.git",
"author": "usmansbk <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.6",
"@babel/node": "^7.22.19",
"@babel/preset-env": "^7.23.6",
"@babel/preset-typescript": "^7.23.3",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-resolvers": "^4.0.1",
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.17",
"@types/email-templates": "^10.0.4",
"@types/express": "^4.17.21",
"@types/express-useragent": "^1.0.5",
"@types/ioredis-mock": "^8.2.5",
"@types/jest": "^29.5.11",
"@types/jsonwebtoken": "^9.0.5",
"@types/multer": "^1.4.11",
"@types/multer-s3": "^3.0.3",
"@types/node": "^20.10.5",
"@types/numeral": "^2.0.5",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"babel-jest": "^29.7.0",
"babel-plugin-module-resolver": "^5.0.0",
"dotenv-vault": "^1.25.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"ioredis-mock": "^8.9.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"nodemon": "^3.0.2",
"prettier": "^3.1.1",
"prettier-plugin-prisma": "^5.0.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.3"
},
"scripts": {
"transpile": "babel src -d build --copy-files --extensions .ts",
"clean": "rimraf build",
"build": "yarn clean && yarn transpile",
"start": "node build",
"dev": "nodemon --exec babel-node src --extensions .ts",
"test": "jest --runInBand",
"prepare": "husky install",
"generate": "prisma generate",
"db:migrate": "prisma migrate dev",
"db:deploy": "prisma migrate deploy",
"db:migrate:reset": "prisma migrate reset --force",
"docker:build": "docker build -t userbase/api . --target dev",
"docker:start": "docker compose up",
"docker:down": "docker compose down",
"docker:clean": "docker system prune -f",
"docker:stop": "yarn docker:down && yarn docker:clean",
"sh": "docker exec -it api sh",
"codegen": "graphql-codegen",
"init:dev": "babel-node src/cli --extensions .ts",
"init:app": "babel-node build/cli",
"lint": "eslint --fix --ext .ts"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"**/*.ts": "yarn lint"
},
"dependencies": {
"@apollo/server": "^4.9.5",
"@aws-sdk/client-dynamodb": "^3.481.0",
"@aws-sdk/client-s3": "^3.481.0",
"@aws-sdk/client-ses": "^3.481.0",
"@aws-sdk/client-sns": "^3.481.0",
"@aws-sdk/credential-provider-node": "^3.481.0",
"@aws-sdk/lib-dynamodb": "^3.481.0",
"@aws-sdk/s3-request-presigner": "^3.481.0",
"@graphql-tools/load-files": "^7.0.0",
"@graphql-tools/merge": "^9.0.1",
"@graphql-tools/schema": "^10.0.2",
"@graphql-tools/utils": "^10.0.12",
"@inquirer/password": "^1.1.14",
"@inquirer/prompts": "^3.3.0",
"@prisma/client": "^5.7.1",
"@sentry/node": "^7.91.0",
"@sentry/profiling-node": "^1.3.2",
"@types/request-ip": "^0.0.41",
"awesome-phonenumber": "^6.4.0",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.2",
"consola": "^3.2.3",
"cors": "^2.8.5",
"dayjs": "^1.11.10",
"dotenv": "^16.3.1",
"email-templates": "^11.1.1",
"express": "^4.18.2",
"express-rate-limit": "^7.1.5",
"express-useragent": "^1.0.15",
"google-auth-library": "^9.4.1",
"graphql": "^16.8.1",
"graphql-redis-subscriptions": "^2.6.0",
"graphql-scalars": "^1.22.4",
"graphql-subscriptions": "^2.0.0",
"i18next": "^23.7.12",
"i18next-fs-backend": "^2.3.1",
"i18next-http-middleware": "^3.5.0",
"ioredis": "^5.3.2",
"jsonwebtoken": "^9.0.2",
"multer": "^1.4.5-lts.1",
"multer-s3": "^3.0.1",
"nanoid": "3",
"nodemailer": "^6.9.7",
"numeral": "^2.0.6",
"pino": "^8.17.2",
"pino-http": "^9.0.0",
"prisma": "^5.7.1",
"pug": "^3.0.2",
"rate-limit-redis": "^4.2.0",
"request-ip": "^3.3.0",
"zod": "^3.22.4"
}
}