-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
117 lines (117 loc) · 3.53 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
{
"name": "ua-api",
"description": "API web à destination des services de l'UTT Arena",
"version": "1.0.0",
"private": false,
"license": "MIT",
"dependencies": {
"@prisma/client": "^5.19.1",
"@sentry/node": "^8.28.0",
"@slack/web-api": "^7.4.0",
"@types/multer": "^1.4.12",
"@types/qs": "^6.9.15",
"@ung/node-etupay": "^3.0.0",
"axios": "^1.7.7",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"helmet": "^7.1.0",
"joi": "^17.13.3",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"logform": "^2.6.1",
"moment": "^2.30.1",
"morgan": "^1.10.0",
"multer": "1.4.5-lts.1",
"mustache": "^4.2.0",
"nanoid": "^3.3.7",
"nodemailer": "^6.9.15",
"pdfkit": "^0.15.0",
"prisma": "^5.19.1",
"qrcode": "^1.5.4",
"qs": "^6.13.0",
"rate-limiter-flexible": "^5.0.3",
"sharp": "^0.33.5",
"split": "^1.0.1",
"stripe": "^16.9.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"ts-node": "^10.9.2",
"winston": "^3.14.2"
},
"devDependencies": {
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@faker-js/faker": "^9.0.0",
"@types/bcryptjs": "^2.4.6",
"@types/chai": "^4.3.19",
"@types/chai-string": "^1.4.5",
"@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/mocha": "^10.0.7",
"@types/morgan": "^1.9.9",
"@types/mustache": "^4.2.5",
"@types/nodemailer": "^6.4.15",
"@types/pdfkit": "^0.13.4",
"@types/qrcode": "^1.5.5",
"@types/sinon": "^17.0.3",
"@types/smtp-server": "^3.5.10",
"@types/split": "^1.0.5",
"@types/supertest": "^6.0.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/yamljs": "^0.2.34",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"chai": "^4.3.10",
"chai-string": "^1.5.0",
"cpy-cli": "^5.0.0",
"dbdocs": "^0.12.1",
"dotenv-cli": "^7.4.2",
"eslint": "^9.9.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-unicorn": "^55.0.0",
"globals": "^15.9.0",
"husky": "^9.1.5",
"mocha": "^10.7.3",
"nock": "^13.5.5",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"prisma-dbml-generator": "^0.12.0",
"sinon": "^18.0.0",
"smtp-server": "^3.13.4",
"supertest": "^7.0.0",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.5.4"
},
"scripts": {
"postinstall": "husky",
"dev": "ts-node-dev --no-notify --exit-child src/server.ts",
"fake": "ts-node tests/fake.ts",
"build": "tsc",
"postbuild": "cpy 'src/**/*.yml' build/src",
"start": "node build/src/server.js",
"lint": "eslint src/ tests/ --max-warnings 0",
"lint:fix": "eslint --fix src/ tests/ --max-warnings 0",
"test": "mocha",
"test:coverage": "nyc pnpm test",
"send:mail:discord": "node build/src/scripts/sendDiscordMails.js",
"send:mails": "node build/src/scripts/mails",
"schema:push": "prisma db push",
"test:schema:push": "dotenv -e .env.test -e .env -- prisma db push"
}
}