-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
54 lines (54 loc) · 1.62 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
{
"name": "wikiraces2021",
"version": "1.0.0",
"description": "A website to host challenges where people try to get from one wikipedia page to another, as quick as possible.",
"main": "index.js",
"scripts": {
"test": "jest",
"run": "node src/app.js | bunyan",
"dev-run": "node --watch src/app.js | bunyan",
"docker-run": "pm2-runtime start src/app.js --name WikiRaces | bunyan",
"prod-run": "pm2 start src/app.js --name wikiRaces",
"prod-stop": "pm2 stop src/app.js --name wikiRaces",
"prod-restart": "pm2 restart src/app.js --name wikiRaces",
"prod-show-latest-logs": "bunyan /var/tmp/WikiRaces.json",
"prod-show-all-logs": "cat /var/tmp/WikiRaces.json | bunyan",
"prod-status": "pm2 status",
"clear-cache": "rm src/game/cache/ -r; mkdir -p src/game/cache/",
"clear-then-run": "rm src/game/cache/ -r; mkdir -p src/game/cache/; node src/app.js | bunyan"
},
"repository": {
"type": "git",
"url": "git+https://github.com/INTERallianceGC/WikiRaces.git"
},
"author": "zsarge",
"license": "MIT",
"bugs": {
"url": "https://github.com/INTERallianceGC/WikiRaces/issues"
},
"homepage": "https://github.com/INTERallianceGC/WikiRaces#readme",
"dependencies": {
"body-parser": "^1.20.3",
"bunyan": "^1.8.14",
"jsdom": "^24.0.0",
"mongodb": "^3.6.3"
},
"jest": {
"preset": "jest-puppeteer",
"globals": {
"PATH": "http://localhost:8443"
},
"testMatch": [
"**/tests/**/*.test.js"
]
},
"devDependencies": {
"express": "^4.21.0",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-puppeteer": "^4.4.0",
"puppeteer": "^2.1.1",
"webpack": "^5.95.0",
"webpack-dev-middleware": "^5.3.4"
}
}