Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.87 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.87 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "chess-solver",
"private": true,
"version": "1.2.1",
"description": "Desktop chess analysis tool powered by Stockfish 18 — set up any position and get engine-recommended moves with evaluations, tactical motifs, and principal variations.",
"author": "ccharafeddine",
"license": "GPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/ccharafeddine/chess-solver.git"
},
"homepage": "https://github.com/ccharafeddine/chess-solver",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"build:web": "tsc -b && vite build --mode web && node scripts/check-dist.mjs",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest",
"preview": "vite preview",
"electron": "npm run build && electron .",
"dist": "npm run build && electron-builder"
},
"build": {
"appId": "com.chesssolver.app",
"productName": "Chess Solver",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"LICENSE",
"THIRD_PARTY_NOTICES",
"!node_modules/**/*"
],
"extraResources": [
{
"from": "LICENSE",
"to": "licenses/GPL-3.0.txt"
},
{
"from": "THIRD_PARTY_NOTICES",
"to": "licenses/THIRD_PARTY_NOTICES.txt"
},
{
"from": "node_modules/stockfish/Copying.txt",
"to": "licenses/stockfish-Copying.txt"
}
],
"win": {
"target": "nsis",
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Chess Solver",
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"universal"
]
}
],
"icon": "build/icon.png",
"category": "public.app-category.board-games"
}
},
"dependencies": {
"@fontsource/dm-sans": "^5.3.0",
"@fontsource/jetbrains-mono": "^5.3.0",
"chess.js": "^1.4.0",
"react": "^19.2.4",
"react-chessboard": "^5.10.0",
"react-dom": "^19.2.4",
"stockfish": "^18.0.5"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/node": "^24.12.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.0",
"electron": "^41.1.1",
"electron-builder": "^26.8.1",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.4.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.56.1",
"vite": "^8.0.0",
"vitest": "^4.1.10"
}
}