-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 2.05 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
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "lila",
"private": true,
"packageManager": "pnpm@11.18.0",
"engines": {
"node": ">=24",
"pnpm": "11"
},
"devDependencies": {
"@lichess-org/chessground": "^10.1.1",
"@lichess-org/pgn-viewer": "^2.6.4",
"@playwright/test": "^1.60.0",
"@types/lichess": "workspace:*",
"@types/node": "^24.13.3",
"ab": "github:lichess-org/ab-stub",
"chessops": "^0.15.1",
"jsdom": "^27.4.0",
"lint-staged": "^16.4.0",
"oxfmt": "0.61.0",
"oxlint": "1.77.0",
"oxlint-tsgolint": "7.0.2001",
"snabbdom": "3.5.1",
"stylelint": "^17.11.1",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-scss": "^7.1.1",
"svgo": "^4.0.2",
"tsx": "^4.23.5",
"typescript": "^6.0.3"
},
"//": [
"snabbdom pinned to 3.5.1 until https://github.com/snabbdom/snabbdom/issues/1114 is resolved",
"typescript above just to allow manual tsc. ui/.build/package.json's typescript version is the truth"
],
"scripts": {
"format": "oxfmt",
"format:scala": "./lila.sh scalafmtAll",
"check-format": "oxfmt --check",
"lint": "pnpm lint:code && pnpm lint:style",
"lint:code": "oxlint --type-aware",
"lint:style": "stylelint \"ui/**/*.scss\"",
"lint:fix": "pnpm lint:code --fix && pnpm lint:style --fix",
"assets:optimize": "svgo -rf ./public/ ./public/",
"test": "node ui/test",
"journal": "journalctl --user -fu lila -o cat",
"metals": "tail -F .metals/metals.log",
"serverlog": "journalctl --user -fu lila -o cat & tail -F .metals/metals.log",
"i18n-file-gen": "pnpx tsx bin/i18n-file-gen.ts",
"icon-files-gen": "python3 bin/gen/licon.py",
"multilog": "pnpm serverlog & ui/build -w",
"workspace-check": "pnpx @manypkg/cli check",
"add-hooks": "git config get --all core.hooksPath | grep -Fxq bin/git-hooks || git config set --append core.hooksPath bin/git-hooks",
"remove-hooks": "git config unset --value=bin/git-hooks core.hooksPath || true"
},
"browserslist": [
"defaults",
"not op_mini all",
"not kaios <= 4",
"firefox >= 115"
]
}