forked from lichess-org/lila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.93 KB
/
package.json
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
{
"name": "lila",
"version": "2.0.0",
"private": true,
"description": "lichess.org: the forever free, adless and open source chess server",
"repository": {
"type": "git",
"url": "https://github.com/lichess-org/lila.git"
},
"keywords": [
"chess",
"lichess"
],
"author": "Thibault Duplessis and the gang",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/lichess-org/lila/issues"
},
"homepage": "https://lichess.org",
"packageManager": "[email protected]+sha256.355a8ab8dbb6ad41befbef39bc4fd6b5df85e12761d2724bd01f13e878de4b13",
"engines": {
"node": "^22.6",
"pnpm": "^9"
},
"//": "NOTE: lint-staged patterns must stay in sync with bin/git-hooks/pre-commit!",
"lint-staged": {
"*.{json,scss,ts}": "prettier --write"
},
"dependencies": {
"@types/lichess": "workspace:*",
"@types/node": "^22.7.4",
"@types/web": "^0.0.166",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"ab": "github:lichess-org/ab-stub",
"chessground": "^9.1.1",
"eslint": "^9.11.1",
"lint-staged": "^15.2.10",
"onchange": "^7.1.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
},
"scripts": {
"format": "prettier --write --log-level warn .",
"check-format": "prettier --check --log-level warn .",
"watch-format": "onchange \"**/*\" -- prettier --write --log-level warn {{changed}}",
"add-hooks": "git config --add core.hooksPath bin/git-hooks",
"remove-hooks": "git config --unset core.hooksPath bin/git-hooks",
"lint": "eslint 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",
"piece-css": "pnpx tsx bin/gen/piece-css.ts",
"trans-dump": "pnpx tsx bin/trans-dump.ts",
"multilog": "pnpm serverlog & ui/build -r"
}
}