-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 5.08 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
{
"name": "express-template",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"d": "nodemon",
"postpublish": "git commit -a -m \"chore: publish\" && git push",
"start:dev": "dotenv -e .env.development -- node dist/index.js",
"start:prod": "dotenv -e .env.production -- node dist/index.js",
"prismaformat": "dotenv -e .env.development -- npx prisma format",
"generate": "dotenv -e .env.development -- npx prisma generate",
"migrate": "dotenv -e .env.development -- npx prisma migrate dev",
"migrate:dev": "dotenv -e .env.local -- npx prisma migrate dev",
"dev:push": "dotenv -e .env.development -- npx prisma db push",
"dev:pull": "dotenv -e .env.development -- npx prisma db pull",
"studio": "dotenv -e .env.local -- npx prisma studio",
"reset": "dotenv -e .env.development -- npx prisma db push --force-reset",
"sudio:prod": "dotenv -e .env.development -- npx prisma studio",
"dev": "ts-node -r tsconfig-paths/register src/index.ts",
"start": "dotenv -e .env.development -- node dist/index.js",
"build": "npm run generate && tsc --project ./tsconfig.build.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
"build:dev": "npm run generate && tsc --project ./tsconfig.build.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
"tsdev": "ts-node-dev --respawn -r tsconfig-paths/register src/index.ts",
"prepare": "husky install",
"deploy": "npx prisma migrate deploy",
"lint:check": "npx biome lint .",
"format:check": "npx biome format .",
"format:write": "npx biome format . --write",
"test": "mocha -r ts-node/register -r tsconfig-paths/register \"./src/**/*.ts\"",
"clean": "npm cache clean --force",
"post-commit-action": "git add .",
"pm2:dev": "pm2 start ecosystem.dev.config.js",
"seed:prod": "dotenv -e .env.development -- ts-node prisma/seed.ts",
"seed:dev": "npx dotenv -e .env.local -- npx prisma db push --force-reset && npx dotenv -e .env.local -- ts-node prisma/seed.ts",
"truncate": "npx dotenv -e .env.development -- npx prisma db push --force-reset",
"clean-console": "gulp strip-debug"
},
"prisma": {
"seed": "dotenv -e .env.development -- ts-node prisma/seed.ts",
"reset": "dotenv -e .env.production -- npx prisma db push --force-reset",
"server": "dotenv -e .env.development -- npx prisma db pull"
},
"lint-staged": {
"./src/**/*.+(ts|js)": [
"npx biome lint .",
"npx biome format .",
"ts-migrate remove-logs --path ./src",
"npm run build"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "npm run post-commit-action"
}
},
"keywords": [],
"author": "",
"license": "ISC",
"rootDir": "src",
"devDependencies": {
"@types/cookie-parser": "^1.4.4",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.18",
"@types/google-libphonenumber": "^7.4.27",
"@types/jest": "^29.5.5",
"@types/jsonwebtoken": "^9.0.3",
"@types/mocha": "^10.0.1",
"@types/node": "^20.7.0",
"@types/node-cron": "^3.0.9",
"@types/supertest": "^2.0.13",
"@types/uuid": "^9.0.4",
"babel-cli": "^6.26.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"husky": "^8.0.0",
"mocha": "^10.2.0",
"prisma-dbml-generator": "^0.10.0",
"ts-jest": "^29.1.1",
"ts-migrate": "^0.1.35",
"ts-node": "^8.0.2",
"ts-node-dev": "^2.0.0",
"ts-watch": "^1.0.8",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@biomejs/biome": "^1.2.2",
"@prisma/client": "^5.8.0",
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.3.6",
"@types/compression": "^1.7.3",
"@types/dompurify": "^3.0.3",
"@types/express-session": "^1.17.8",
"@types/lusca": "^1.7.2",
"@types/multer": "^1.4.8",
"@types/multer-s3": "^3.0.1",
"@types/pg": "^8.10.9",
"@upstash/ratelimit": "^0.4.4",
"@upstash/redis": "^1.25.1",
"address": "^2.0.1",
"axios": "^1.5.0",
"bcrypt": "^5.1.1",
"chai": "^4.3.10",
"chai-http": "^4.4.0",
"compression": "^1.7.4",
"connect-memcached": "^2.0.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"countries-list": "^3.0.1",
"dompurify": "^3.0.6",
"dotenv": "^16.3.1",
"dotenv-cli": "^7.3.0",
"express": "^4.18.2",
"express-rate-limit": "^7.1.0",
"express-session": "^1.17.3",
"google-libphonenumber": "^3.2.33",
"gulp": "^4.0.2",
"gulp-strip-debug": "^6.0.0",
"helmet": "^7.0.0",
"husky": "^8.0.3",
"i18n-iso-countries": "^7.7.0",
"isomorphic-dompurify": "^1.9.0",
"jsonwebtoken": "^9.0.2",
"lint-staged": "^14.0.1",
"lodash": "^4.17.21",
"lusca": "^1.7.0",
"module-alias": "^2.2.3",
"moment": "^2.29.4",
"multer": "^1.4.5-lts.1",
"multer-s3": "^3.0.1",
"node-cron": "^3.0.2",
"nyc": "^15.1.0",
"pg": "^8.11.3",
"prisma": "^5.8.0",
"prisma-multischema": "^1.1.3",
"sharp": "^0.32.6",
"supertest": "^6.3.3",
"tscpaths": "^0.0.9",
"tsx": "^4.6.1",
"uuid": "^9.0.1",
"xss-clean": "^0.1.4",
"zod": "^3.22.2"
},
"proxy": "0.0.0.0"
}