-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
78 lines (78 loc) · 2.37 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
{
"name": "houseofmud",
"version": "1.0.0",
"description": "MUD-Game provider",
"main": "index.js",
"scripts": {
"test": "jest --coverage",
"start": "concurrently --names 'SUPERVISOR,HOST,FRONTEND' --prefix-colors 'red,yellow,blue' --kill-others \"npm run supervisor\" \"npm run host\" \"npm run frontend\"",
"installfrontend": "cd frontend && npm install",
"installhost": "cd backend/game && npm install",
"installsupervisor": "cd backend/supervisor && npm install",
"installall": "npm install && npm run installfrontend && npm run installhost && npm run installsupervisor",
"frontend": "cd ./frontend && npm start",
"host": "cd ./backend/game && npm start",
"supervisor": "cd ./backend/supervisor && npm start",
"buildsupervisor": "cd ./backend/supervisor && npm run build",
"typedochost": "cd ./backend/game && npx typedoc",
"typedocfrontend": "cd ./frontend && npx typedoc",
"typedocsupervisor": "cd ./backend/supervisor && npx typedoc",
"typedoc": "npm run typedochost && npm run typedocfrontend && npm run typedocsupervisor"
},
"jest": {
"coverageReporters": [
"text"
],
"reporters": [
"default",
"jest-junit"
],
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
]
},
"jest-junit": {
"suiteName": "Unit Tests",
"outputDirectory": ".",
"outputName": "junit.xml",
"uniqueOutputName": "false",
"classNameTemplate": "Test - {classname}",
"titleTemplate": "{title}",
"ancestorSeparator": " > ",
"usePathForSuiteName": "true"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MUD-Game/HouseOfMUD.git"
},
"keywords": [
"MUD"
],
"author": "HouseOfMUD",
"license": "ISC",
"bugs": {
"url": "https://github.com/MUD-Game/HouseOfMUD/issues"
},
"homepage": "https://github.com/MUD-Game/HouseOfMUD#readme",
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/react-beforeunload": "^2.1.1"
},
"dependencies": {
"@types/amqplib": "^0.8.2",
"@types/js-yaml": "^4.0.5",
"amqplib": "^0.8.0",
"concurrently": "^7.1.0",
"fs": "^0.0.1-security",
"jest": "^27.5.1",
"jest-junit": "^13.1.0",
"js-yaml": "^4.1.0",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
}
}