-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 2.86 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
{
"name": "git-workshop",
"version": "0.1.0",
"description": "Interaktiver Git-Workshop: echte Git-Sandbox, sequenzielle Validierung, Live-Commit-Graph. Offline und plattformuebergreifend (Electron).",
"license": "MIT",
"author": "Sebastian Walther",
"homepage": "https://github.com/shinji-san/git-workshop",
"private": true,
"type": "module",
"main": "out/main/main.js",
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"start": "electron-vite preview",
"typecheck": "tsc --noEmit -p tsconfig.json",
"typecheck:core": "tsc --noEmit -p tsconfig.check.json",
"test": "vitest run",
"test:watch": "vitest",
"clean": "tsx scripts/clean.ts",
"clean:deep": "tsx scripts/clean.ts --deep",
"verify": "npm run clean && npm run typecheck && npm test && npm run build",
"schema:gen": "tsx scripts/generate-schema.ts",
"unlock:gen": "tsx scripts/gen-unlock.ts",
"bundles:gen": "tsx scripts/generate-bundles.ts",
"icon:gen": "tsx scripts/generate-icon.ts",
"vendor:win": "tsx scripts/fetch-git-portable.ts",
"postinstall": "tsx scripts/generate-bundles.ts && tsx scripts/generate-icon.ts",
"dist:linux": "npm run icon:gen && npm run bundles:gen && electron-vite build && electron-builder --linux --publish never",
"dist:win": "npm run vendor:win && npm run icon:gen && npm run bundles:gen && electron-vite build && electron-builder --win --publish never"
},
"build": {
"appId": "de.workshop.git-workshop",
"productName": "Git-Workshop",
"icon": "build/icon.png",
"files": [
"out/**",
"package.json"
],
"asarUnpack": [
"**/node_modules/node-pty/**"
],
"extraResources": [
{
"from": "exercises",
"to": "exercises"
},
{
"from": "build/icon.png",
"to": "icon.png"
}
],
"linux": {
"target": [
"AppImage",
"tar.gz"
],
"category": "Development"
},
"win": {
"target": [
"nsis",
"portable"
],
"extraResources": [
{
"from": "vendor/git-portable",
"to": "toolchain"
}
]
}
},
"dependencies": {
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"chokidar": "^3.6.0",
"d3": "^7.9.0",
"js-yaml": "^4.1.0",
"node-pty": "^1.0.0",
"zod": "^3.23.8"
},
"overrides": {
"esbuild": "0.28.1"
},
"devDependencies": {
"@resvg/resvg-js": "^2.6.2",
"@types/d3": "^7.4.3",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.14.0",
"electron": "^42.3.3",
"electron-builder": "^26.0.12",
"electron-vite": "^5.0.0",
"tsx": "^4.16.0",
"typescript": "^5.5.0",
"vite": "^7.0.0",
"vitest": "^4.0.0",
"zod-to-json-schema": "^3.23.0"
}
}