forked from lichess-org/lila
-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathpackage.json
57 lines (57 loc) · 2.18 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": "lishogi",
"private": true,
"description": "lishogi.org: the forever free, adless and open source shogi server",
"repository": {
"type": "git",
"url": "https://github.com/WandererXII/lishogi.git"
},
"author": "Thibault Duplessis and the gang (lichess), WandererXII (lishogi)",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/WandererXII/lishogi/issues"
},
"homepage": "https://lishogi.org",
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"packageManager": "[email protected]",
"dependencies": {
"@build/tsconfig": "workspace:*",
"@types/jquery": "^3.5.32",
"@types/lishogi": "workspace:*",
"del-cli": "^6.0.0",
"typescript": "^5.7.3"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "catalog:",
"knip": "^5.42.1",
"prettier": "^3.4.2",
"stylelint": "~16.13.2",
"stylelint-config-standard-scss": "^14.0.0"
},
"scripts": {
"preinstall": "npx --yes only-allow pnpm",
"type-check": "pnpm -r type-check",
"clean": "del public/compiled && del public/css && del public/translation && pnpm -r clean",
"build:js": "pnpm -F @build/js run build",
"build:css": "pnpm -F @build/css run build",
"build:vendor": "pnpm -F @build/vendor run build",
"build:pieces": "pnpm -F @build/pieces run build",
"build:i18n:ts": "pnpm -F @build/i18n run build",
"build:i18n:scala": "pnpm -F @bin/utils run trans-dump",
"build:ui": "pnpm clean && pnpm build:js && pnpm build:i18n:ts && pnpm build:css && pnpm build:pieces && pnpm build:vendor",
"lint:ts": "biome check && knip",
"lint:ts:fix": "biome check --write",
"lint:scss": "stylelint **/*.scss --cache --ignore-path .gitignore",
"lint:scss:fix": "stylelint **/*.scss --cache --ignore-path .gitignore --fix; stylelint_exit=$?; prettier **/*.scss --cache --write; exit $stylelint_exit",
"lint:i18n": "pnpm -F @bin/utils run trans-lint",
"lint": "pnpm lint:ts && pnpm lint:scss",
"lint:fix": "pnpm lint:ts:fix && pnpm lint:scss:fix",
"format": "biome format && prettier --cache --check .",
"format:fix": "biome format --write && prettier --cache --write .",
"server": "./lila.sh"
}
}