forked from lichess-org/lila
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.23 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.23 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
{
"name": "lila",
"private": true,
"packageManager": "pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c",
"engines": {
"node": ">=24",
"pnpm": "10"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
],
"patchedDependencies": {
"@toast-ui/editor": "ui/bits/patches/@toast-ui__editor.patch"
}
},
"dependencies": {
"@lichess-org/chessground": "^10.0.2",
"@lichess-org/pgn-viewer": "^2.5.9",
"@types/lichess": "workspace:*",
"@types/node": "^24.10.13",
"ab": "github:lichess-org/ab-stub",
"chessops": "^0.15",
"jsdom": "^27.1.0",
"lint-staged": "^16.2.6",
"oxfmt": "^0.35.0",
"oxlint": "^1.50.0",
"oxlint-tsgolint": "^0.15.0",
"snabbdom": "3.5.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": "oxlint --type-aware --tsconfig=ui/tsconfig.base.json && stylelint \"**/*.scss\"",
"lint:fix": "oxlint --type-aware --tsconfig=ui/tsconfig.base.json --fix && stylelint \"**/*.scss\" --fix",
"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,scss,ts,mts,mjs,scss}": "pnpm lint:fix && pnpm format"
},
"browserslist": [
"defaults",
"not op_mini all",
"not kaios <= 4"
]
}