forked from lichess-org/lila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.35 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
58
59
60
61
62
63
64
{
"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]+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab",
"engines": {
"node": ">=22.6",
"pnpm": "^9"
},
"dependencies": {
"@types/lichess": "workspace:*",
"@types/node": "^22.10.1",
"@types/web": "^0.0.180",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"ab": "github:lichess-org/ab-stub",
"chessground": "^9.1.1",
"chessops": "^0.14.2",
"eslint": "^9.15.0",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"onchange": "^7.1.0",
"prettier": "^3.4.1",
"snabbdom": "3.5.1",
"typescript": "^5.7.2",
"vitest": "^2.1.6"
},
"//": [
"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 --cache --write --log-level warn .",
"check-format": "prettier --cache --check --log-level warn .",
"watch-format": "onchange \"**/*\" -- prettier --cache --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 --cache",
"lint-staged": "lint-staged --config bin/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",
"piece-css": "pnpx tsx bin/gen/piece-css.ts",
"trans-dump": "pnpx tsx bin/trans-dump.ts",
"test": "vitest run -c ui/vitest.config.mts",
"test:watch": "vitest -c ui/vitest.config.mts",
"multilog": "pnpm serverlog & ui/build -w"
}
}