-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
71 lines (71 loc) · 2.03 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
65
66
67
68
69
70
71
{
"name": "lichess-pgn-viewer",
"license": "GPL-3.0-or-later",
"version": "2.3.0",
"repository": "github:lichess-org/pgn-viewer",
"author": "Thibault Duplessis <[email protected]>",
"funding": "https://lichess.org/patron",
"keywords": [
"chess",
"lichess",
"game",
"pgn",
"viewer",
"typescript"
],
"type": "module",
"main": "dist/main.js",
"types": "main.d.ts",
"exports": {
".": {
"types": "./dist/main.d.ts",
"default": "./dist/main.js"
}
},
"typesVersions": {
"*": {
"*": [
"dist/*"
]
}
},
"dependencies": {
"@types/node": "^22.10.2",
"chessground": "^9.1.1",
"chessops": "^0.14.2",
"snabbdom": "^3.6.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"esbuild": "^0.24.0",
"eslint": "^9.16.0",
"http-server": "^14.1.1",
"prettier": "^3.4.2",
"sass": "^1.82.0",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"scripts": {
"compile": "tsc --incremental",
"format": "prettier --write --log-level warn .",
"bundle": "esbuild src/main.ts --bundle --format=esm --platform=browser",
"bundle-dev": "pnpm run bundle --outfile=demo/lichess-pgn-viewer.js",
"bundle-prod": "pnpm run bundle --minify --outfile=dist/lichess-pgn-viewer.min.js",
"sass-dev": "sass --no-source-map --update --style=expanded scss:demo",
"sass-prod": "sass --no-source-map --style=compressed scss:dist",
"prod": "pnpm run sass-prod && pnpm run bundle-prod",
"demo": "pnpm run sass-dev && pnpm run bundle-dev && http-server demo",
"test": "vitest run",
"test:watch": "vitest",
"dist": "pnpm run compile && pnpm run prod && pnpm run sass-dev && pnpm run bundle-dev"
},
"files": [
"demo/*",
"dist/*",
"view/*",
"scss/*",
"src/**/*"
],
"packageManager": "[email protected]+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
}