-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
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.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee",
"engines": {
"node": "^22.6",
"pnpm": "^9"
},
"dependencies": {
"@types/lichess": "workspace:*",
"@types/node": "^22.9.1",
"@types/web": "^0.0.180",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.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.3.3",
"snabbdom": "3.5.1",
"typescript": "^5.6.3",
"vitest": "^2.1.5"
},
"//": [
"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"
}
}