-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 3.35 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
{
"name": "gateway",
"version": "0.1.19",
"description": "Main point of access for monsters microservice. This project is a REST API",
"productName": "Gateway",
"author": "https://github.com/Virus288",
"license": "Apache-2.0",
"private": false,
"type": "module",
"main": "build/src/main.js",
"scripts": {
"start": "node build/src/main.js",
"start:dev": "concurrently 'npm run build:watch' 'cross-env NODE_ENV=development nodemon build/src/main.js'",
"start:testDev": "cross-env NODE_ENV=testDev node build/src/main.js",
"build": "tsc -p tsconfig.json",
"build:watch": "tsc -w -p tsconfig.json",
"lint": "cross-env NODE_ENV=development eslint -c eslint.config.mjs . --fix --cache",
"listErrors": "node_modules/.bin/tsc --skipLibCheck",
"lintStaged": "npx lint-staged",
"test": "echo 'If you want to run all the tests, please use makefile'",
"test:e2e": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --runInBand --config __tests__/jest.config.e2e.ts",
"test:db": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --runInBand --config __tests__/jest.config.db.ts",
"test:unit": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --config __tests__/jest.config.unit.ts",
"migrate": "node build/src/migrations/index.js",
"migrate:dev": "cross-env NODE_ENV=development node build/src/migrations/index.js"
},
"lint-staged": {
"*.ts": [
"cross-env NODE_ENV=development eslint --cache"
],
"*.json,.{eslintrc,prettierrc}": [
"prettier --ignore-path .eslintignore --parser json --write"
]
},
"dependencies": {
"amqplib": "0.10.5",
"cookie-parser": "1.4.7",
"cors": "2.8.5",
"express": "4.21.2",
"express-rate-limit": "7.5.0",
"express-session": "1.18.1",
"helmet": "^8.0.0",
"jose": "^5.9.6",
"mongoose": "8.9.5",
"redis": "^4.7.0",
"simpl-loggar": "^0.5.3",
"swagger-jsdoc": "6.2.8",
"swagger-ui-express": "5.0.1",
"ws": "8.18.0"
},
"devDependencies": {
"@eslint/compat": "^1.2.2",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.0",
"@jest/globals": "29.7.0",
"@types/amqplib": "0.10.6",
"@types/cookie-parser": "1.4.8",
"@types/cors": "2.8.17",
"@types/express": "5.0.0",
"@types/express-session": "1.18.1",
"@types/node": "22.10.7",
"@types/semver": "^7.5.8",
"@types/supertest": "6.0.2",
"@types/swagger-jsdoc": "6.0.4",
"@types/swagger-ui-express": "4.1.7",
"@types/ws": "8.5.13",
"@typescript-eslint/eslint-plugin": "8.20.0",
"@typescript-eslint/parser": "8.20.0",
"concurrently": "9.1.2",
"cross-env": "7.0.3",
"eslint": "9.18.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-check-file": "2.8.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-jsdoc": "^50.0.0",
"eslint-plugin-prettier": "5.2.2",
"eslint-plugin-sort-class-members": "1.21.0",
"jest": "29.7.0",
"moc-socket": "0.2.3",
"mongodb-memory-server": "10.1.3",
"nodemon": "3.1.9",
"prettier": "3.4.2",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"tsx": "^4.7.2",
"typescript": "5.7.3"
},
"keywords": [
"gateway",
"monsters",
"mode.js",
"nodejs"
],
"engines": {
"node": ">=19"
}
}