forked from leanprover-community/lean4game
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.55 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.55 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
{
"name": "lean4game",
"version": "0.1.0",
"private": true,
"workspaces": [
"client",
"relay"
],
"devDependencies": {
"concurrently": "^9.2.1",
"cypress": "^15.12.0",
"cypress-iframe": "^1.0.1",
"typescript": "^5.9.3"
},
"scripts": {
"start": "concurrently -n server,relay,client -c blue,yellow,green \"npm run build:server\" \"npm run start:relay\" \"npm run start:client\"",
"start:relay": "npm --workspace relay run dev",
"start:client": "npm --workspace client run dev",
"build": "npm run build:server && npm run build:relay && npm run build:client && npm run build:test",
"build:server": "cd server && lake build",
"build:client": "npm --workspace client run build",
"build:relay": "npm --workspace relay run build",
"build:test": "cd cypress/TestGame && lake build",
"production": "npm run prod",
"prod": "npm --workspace relay run prod",
"translate": "npm --workspace client run translate",
"test": "npm run build:test && concurrently -n server,cypress -c blue,green \"npm start\" \"cypress run\" -k -s first --hide server",
"test:prod": "npm run build && concurrently -n server,cypress -c blue,green \"PORT=3000 npm run production\" \"cypress run\" -k -s first"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}