-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.88 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
{
"name": "pong",
"private": true,
"version": "0.1.0",
"description": "Demo multi-player pong on Cloud Run with MongoDB",
"license": "Apache-2.0",
"type": "module",
"scripts": {
"clean": "rm -rf dist",
"build": "tsc && webpack",
"test": "npm run test-backend",
"✅ FRONTEND ⬇": ":",
"webpack": "webpack",
"serve-watch-frontend": "webpack server --env MODE=development --env PONGHOST=ws://localhost:8081",
"✅ BACKEND ⬇": ":",
"tsc": "tsc",
"test-backend": "mocha --reporter list --timeout 20000 dist/backend/test/test.js",
"test-backend-watch": "npm run test-backend --watch",
"serve-watch-backend": "PORT=8081 tsc-watch --noClear -p ./tsconfig.json --onSuccess \"node --experimental-specifier-resolution=node ./dist/backend/main.js\"",
"✅ DEV ⬇": ":",
"predev": "npm run clean",
"dev": "NODE_ENV=development concurrently \"npm run serve-watch-frontend\" \"npm run serve-watch-backend\"",
"✅ PRODUCTION ⬇": ":",
"start": "node --experimental-specifier-resolution=node ./dist/backend/main.js"
},
"dependencies": {
"cookie-parser": "~1.4.4",
"express": "^4.18.1",
"http-errors": "^2.0.0",
"ioredis": "^5.2.3",
"morgan": "^1.10.0",
"p5": "^1.4.2",
"protobufjs": "^7.0.0",
"uuid": "^8.3.2",
"ws": "^8.8.1"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/ioredis": "^4.28.10",
"@types/mocha": "^10.0.0",
"@types/node": "^18.6.5",
"@types/p5": "^1.4.2",
"@types/uuid": "^8.3.4",
"@types/ws": "^8.5.3",
"chokidar-cli": "^3.0.0",
"concurrently": "^7.3.0",
"copy-webpack-plugin": "^11.0.0",
"del": "^7.0.0",
"mocha": "^10.0.0",
"nodemon": "^2.0.19",
"ts-loader": "^9.3.1",
"tsc-watch": "^5.0.3",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
}
}