-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.82 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
{
"name": "rayon_express_psql_starter",
"version": "1.3",
"description": "",
"scripts": {
"tsoa": "tsoa spec-and-routes",
"setup": "npm run env:fetch && npm run prisma:pull && npm run schema-transform && npm run prisma:format && npm run prisma:generate && npm run tsoa",
"build": "npm run setup && tsc && node -r ts-node/register/transpile-only -r tsconfig-paths/register ./dist/scripts/secrets.js",
"local": "npm run setup && concurrently \"nodemon server.ts\" \"nodemon -x tsoa spec-and-routes\"",
"dev": "cross-env NODE_ENV=dev npm run local",
"prod": "cross-env NODE_ENV=production npm run local",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"start": "node -r ts-node/register/transpile-only -r tsconfig-paths/register ./dist/server.js",
"deploy": "npm run build && gcloud app deploy",
"watch:types": "tsc -w",
"env:fetch": "ts-node ./scripts/secrets",
"env:replace": "ts-node ./scripts/env-replace",
"schema-transform": "ts-node ./scripts/schema-transform",
"prisma:pull": "prisma db pull",
"prisma:generate": "prisma generate",
"prisma:format": "prisma format",
"prettier:check": "prettier . --check",
"prettier:write": "prettier . --write",
"prepare": "husky install"
},
"keywords": [],
"author": "",
"license": "ISC",
"imports": {
"#/*": "./*"
},
"nodemonConfig": {
"ignore": [
"dist/*",
"routes.ts",
"swagger.json"
],
"ext": "ts"
},
"dependencies": {
"@prisma/client": "5.20.0",
"@sendinblue/client": "^3.3.1",
"@types/lodash": "^4.17.10",
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"dayjs": "^1.11.13",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"firebase-admin": "^12.6.0",
"hcaptcha": "^0.2.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"socket.io": "^4.8.0",
"strip": "^3.0.0",
"swagger-ui-express": "^5.0.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsoa": "^6.4.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/bcrypt": "^5",
"@types/cors": "^2",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9",
"@types/morgan": "^1",
"@types/node": "^22.7.5",
"@types/swagger-ui-express": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-unused-imports": "^4.1.4",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"nodemon": "^3.1.7",
"prettier": "3.3.3",
"prisma": "5.20.0",
"typescript": "^5.6.3"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}