mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
59 lines
2.2 KiB
JSON
59 lines
2.2 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": "9.10.3",
|
|
"@lichess-org/pgn-viewer": "^2.5.5",
|
|
"@types/lichess": "workspace:*",
|
|
"@types/node": "^24.10.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
"@typescript-eslint/parser": "^8.46.3",
|
|
"ab": "github:lichess-org/ab-stub",
|
|
"chessops": "^0.15",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-compat": "^6.0.2",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"jsdom": "^27.1.0",
|
|
"lint-staged": "^16.2.6",
|
|
"prettier": "^3.6.2",
|
|
"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 typesript version is the truth"
|
|
],
|
|
"scripts": {
|
|
"format": "prettier --config=ui/.prettierrc.json --cache --write --log-level=warn .",
|
|
"check-format": "prettier --config=ui/.prettierrc.json --cache --check --log-level=warn .",
|
|
"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": "eslint --config=ui/eslint.config.mjs --cache --cache-location=ui/.eslintcache",
|
|
"lint-staged": "lint-staged --config=ui/lint-staged.config.mjs",
|
|
"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"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not op_mini all",
|
|
"not kaios <= 4"
|
|
]
|
|
}
|