Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 2.01 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 2.01 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
{
"name": "leangame",
"version": "3.0.0",
"private": true,
"workspaces": [
"client",
"server"
],
"type": "module",
"scripts": {
"analyse": "npm --workspace client run analyse",
"build:client": "npm --workspace client run build",
"build:server": "npm --workspace server run build",
"build:lean": "npm --workspace server run build:lean",
"build": "concurrently -n client,server,lean -c green,blue,yellow \"npm run build:client\" \"npm run build:server\" \"npm run build:lean\"",
"fmt:check": "oxfmt --check",
"fmt": "oxfmt",
"i18n:check": "node client/scripts/check-translations.ts",
"lint": "oxlint",
"start:client": "npm --workspace client run dev",
"start:server": "npm --workspace server run dev",
"start": "concurrently -n client,server -c green,blue \"npm run start:client\" \"npm run start:server\"",
"prod": "node server/dist/index.js",
"test": "npm run test:lean && npm run test:client",
"test:client": "npm run test:build-game && concurrently -n app,cypress -c blue,green \"npm start\" \"cypress run\" -k -s first --hide app",
"test:lean": "npm --workspace server run test:lean",
"test:build-game": "cd GameSkeleton && rm -f lake-manifest.json && lake update -R -Kleangame.testgame --keep-toolchain && lake build",
"test:prod": "npm run build && npm run test:build-game && concurrently -n app,cypress -c blue,green \"node server/dist/index.js\" \"cypress run --config baseUrl=http://localhost:8000\" -k -s first --hide app",
"test:ui": "concurrently -n app,cypress -c blue,green \"npm start\" \"cypress open\" -k -s first --hide app",
"api:check": "cmp server/src/api.ts client/src/api.ts && echo \"api.ts is identical on both sides\""
},
"devDependencies": {
"concurrently": "^10.0.7",
"cross-env": "^10.1.0",
"cypress": "^16.3.0",
"oxfmt": "^0.72.0",
"oxlint": "^1.94.0",
"oxlint-tsgolint": "^7.0.2007"
},
"allowScripts": {
"esbuild@0.28.2": true,
"fsevents@2.3.3": true,
"cypress@16.3.0": true
}
}