-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.27 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.27 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
61
62
63
64
65
66
67
68
{
"name": "lila",
"private": true,
"packageManager": "pnpm@10.32.1",
"engines": {
"node": ">=24",
"pnpm": "10"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
],
"patchedDependencies": {
"@toast-ui/editor": "ui/bits/patches/@toast-ui__editor.patch"
}
},
"dependencies": {
"@lichess-org/chessground": "^10.1.0",
"@lichess-org/pgn-viewer": "^2.6",
"@types/lichess": "workspace:*",
"@types/node": "^24.12.0",
"ab": "github:lichess-org/ab-stub",
"chessops": "^0.15",
"jsdom": "^27.1.0",
"lint-staged": "^16.2.6",
"oxfmt": "^0.40.0",
"oxlint": "^1.50.0",
"oxlint-tsgolint": "^0.15.0",
"snabbdom": "3.5.1",
"svgo": "^4.0.1",
"stylelint": "^17.3.0",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-scss": "^7.0.0",
"tsx": "^4.20.6",
"typescript": "^5.9.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 --tsconfig=ui/tsconfig.base.json",
"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 | stdbuf -oL cut -c 21- | rg -v '(notification for request|handleCancellation)'",
"serverlog": "pnpm journal & pnpm metals",
"i18n-file-gen": "pnpx tsx bin/i18n-file-gen.ts",
"multilog": "pnpm serverlog & ui/build -w",
"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"
},
"lint-staged": {
"*.{json,ts,mts,mjs}": "pnpm lint:code --fix && pnpm format",
"*.scss": "pnpm lint:style --fix && pnpm format"
},
"browserslist": [
"defaults",
"not op_mini all",
"not kaios <= 4"
]
}