-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
85 lines (85 loc) · 2.87 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
{
"name": "poker",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:8086",
"dependencies": {
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@koa/router": "^10.1.1",
"@mui/material": "^5.6.0",
"@reduxjs/toolkit": "^1.8.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^24.9.1",
"@types/node": "^12.20.47",
"@types/react": "^16.14.24",
"@types/react-redux": "^7.1.23",
"antd": "^4.19.5",
"colors": "^1.4.0",
"jsonwebtoken": "^8.5.1",
"koa": "^2.13.4",
"koa-body": "^4.2.0",
"koa-static": "^5.0.0",
"koa-websocket": "^6.0.0",
"memfs": "^4.17.0",
"rc-queue-anim": "^2.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-redux": "^7.2.8",
"react-scripts": "5.0.0",
"typescript": "~4.1.5",
"uuid": "^8.3.2",
"ws": "^8.5.0"
},
"scripts": {
"start": "node dist/src/server/app-server.js",
"start:web": "react-scripts start",
"build": "react-scripts build && npm run build:server",
"build:server": "tsc -p server.tsconfig.json",
"test": "react-scripts test",
"eject": "react-scripts eject",
"test:gameengine": "./node_modules/mocha/bin/mocha -r ts-node/register ./src/server/tests/game-engine.test.ts",
"test:serverapi": "./node_modules/mocha/bin/mocha -r ts-node/register ./src/server/tests/serverapi.test.ts",
"test:ws": "./node_modules/mocha/bin/mocha -r ts-node/register ./src/server/tests/websocket.test.ts",
"test:dao": "./node_modules/mocha/bin/mocha -r ts-node/register ./src/server/tests/dao.test.ts",
"test:room": "./node_modules/mocha/bin/mocha -r ts-node/register ./src/server/tests/room.user.test.ts",
"test:autoplay": "./node_modules/mocha/bin/mocha -r ts-node/register ./src/server/tests/autoplay.test.ts",
"test:autoplay-single": "./node_modules/mocha/bin/mocha -r ts-node/register ./src/server/tests/autoplay-single.ts",
"watch-server": "nodemon --watch './src/server/***/*.ts' -e ts,tsx --exec 'ts-node' ./src/server/app-server.ts"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/jsonwebtoken": "^8.5.8",
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
"@types/koa-static": "^4.0.2",
"@types/koa-websocket": "^5.0.7",
"@types/mocha": "^9.1.0",
"@types/react-dom": "^18.0.0",
"@types/uuid": "^8.3.4",
"@types/websocket": "^1.0.5",
"axios": "^0.26.1",
"chai": "^4.3.6",
"mocha": "^9.2.2",
"nodemon": "^2.0.15",
"ts-node": "^10.7.0",
"websocket": "^1.0.34"
}
}