-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
88 lines (88 loc) · 2.16 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "chessground",
"version": "7.11.1-pstrat3.3",
"description": "playstrategy.org chess ui, forked from lichess.org",
"type": "module",
"main": "dist/chessground.js",
"types": "chessground.d.ts",
"exports": {
".": "./dist/chessground.js",
"./*": "./dist/*.js"
},
"typesVersions": {
"*": {
"*": [
"dist/*"
]
}
},
"packageManager": "pnpm@9.1.0",
"engines": {
"node": ">=20",
"pnpm": "^9"
},
"dependencies": {
"@jest/globals": "29",
"@types/node": "20.12.2",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"jest": "29",
"prettier": "^3.2.5",
"ts-jest": "29",
"typescript": "^5.4"
},
"scripts": {
"prepare": "$npm_execpath run compile",
"compile": "tsc --sourceMap --declaration",
"test": "node node_modules/jest/bin/jest.js",
"lint": "eslint src/*.ts",
"format": "prettier --write .",
"check-format": "prettier --check .",
"bundle": "esbuild src/chessground.ts --bundle --format=esm --outfile=dist/chessground.min.js --minify",
"dist": "$npm_execpath run compile && $npm_execpath run bundle",
"link": "node --env-file=.env.local ./build.js --link",
"local-bundle": "node --env-file=.env.local ./build.js --bundle",
"local-dist": "$npm_execpath run compile && $npm_execpath run local-bundle",
"postinstall": "$npm_execpath run bundle"
},
"files": [
"/dist/*.js",
"/dist/*.d.ts",
"/dist/*.js.map",
"/assets/*.css",
"/src/*.ts"
],
"jest": {
"globals": {
"window": {}
},
"testRegex": ".*\\.test\\.ts$",
"transform": {
"\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"^(.*)\\.js$": "$1"
}
},
"repository": "https://github.com/Mind-Sports-Games/chessground",
"keywords": [
"chess",
"playstrategy",
"playstrategy.org",
"chessboard",
"ui",
"typescript"
],
"author": "playstrategy.org",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/Mind-Sports-Games/chessground/issues"
}
}