mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
58 lines
2.0 KiB
JSON
58 lines
2.0 KiB
JSON
{
|
|
"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.1",
|
|
"@lichess-org/pgn-viewer": "^2.5.6",
|
|
"@types/lichess": "workspace:*",
|
|
"@types/node": "^24.10.0",
|
|
"ab": "github:lichess-org/ab-stub",
|
|
"chessops": "^0.15",
|
|
"jsdom": "^27.1.0",
|
|
"lint-staged": "^16.2.6",
|
|
"oxfmt": "^0.26.0",
|
|
"oxlint": "^1.41.0",
|
|
"oxlint-tsgolint": "^0.11.1",
|
|
"snabbdom": "3.5.1",
|
|
"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 --config=ui/.oxfmtrc.json ui",
|
|
"check-format": "oxfmt --config=ui/.oxfmtrc.json --check ui",
|
|
"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": "oxlint --config=ui/.oxlintrc.json --tsconfig=ui/tsconfig.base.json --type-aware ui",
|
|
"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"
|
|
},
|
|
"lint-staged": {
|
|
"*.{json,scss,ts,mts,mjs}": "pnpm lint --fix && pnpm format"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not op_mini all",
|
|
"not kaios <= 4"
|
|
]
|
|
}
|