Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.63 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.63 KB
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
{
"name": "fights",
"version": "0.1.0",
"description": "Part of microservice application, which manages fights requests",
"productName": "Fights",
"author": "https://github.com/Virus288",
"license": "Apache-2.0",
"private": false,
"type": "module",
"main": "build/main.js",
"scripts": {
"start": "node build/src/main.js",
"start:dev": "cross-env NODE_ENV=development nodemon --exec tsx src/main.ts",
"start:testDev": "cross-env NODE_ENV=testDev nodemon 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",
"listErrors": "node_modules/.bin/tsc --skipLibCheck",
"lintStaged": "npx lint-staged",
"verifyConfig": "tsx src/tools/config/verify.ts",
"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"
},
"dependencies": {
"@monsters/validator": "github:Monsters-RPG-game/Packages-validator",
"amqplib": "0.10.8",
"mongoose": "8.16.3",
"simpl-loggar": "^0.7.7"
},
"devDependencies": {
"@eslint/compat": "^1.2.2",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.0",
"@jest/globals": "30.0.4",
"@types/amqplib": "0.10.7",
"@types/node": "24.0.13",
"@typescript-eslint/eslint-plugin": "8.36.0",
"@typescript-eslint/parser": "8.36.0",
"cross-env": "7.0.3",
"eslint": "9.31.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-check-file": "3.3.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jest": "29.0.1",
"eslint-plugin-jsdoc": "^51.3.4",
"eslint-plugin-prettier": "5.5.1",
"eslint-plugin-sort-class-members": "1.21.0",
"jest": "30.0.4",
"jest-environment-node": "^30.0.0-beta.3",
"nodemon": "^3.1.7",
"prettier": "3.6.2",
"supertest": "^7.0.0",
"ts-jest": "29.4.0",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "5.8.3"
},
"lint-staged": {
"*.ts": [
"cross-env NODE_ENV=development eslint --cache"
],
"*.json,.{eslintrc,prettierrc}": [
"prettier --ignore-path .eslintignore --parser json --write"
]
},
"keywords": [
"fights",
"monsters",
"mode.js",
"nodejs"
],
"engines": {
"node": ">=19"
}
}