Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.41 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.41 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
{
"name": "python-rune-quest",
"version": "1.0.0",
"description": "A 32-stage pixel adventure that teaches Python in Chinese.",
"main": "main.cjs",
"scripts": {
"start": "npm run build && electron .",
"dev": "vite --host 127.0.0.1",
"build": "vite build --base ./",
"test": "node --test tests/*.test.cjs",
"dist": "npm run build && electron-builder",
"dist:mac": "npm run build && electron-builder --mac dmg --arm64",
"dist:win": "npm run build && electron-builder --win nsis --x64",
"dist:linux": "npm run build && electron-builder --linux deb rpm --x64"
},
"devDependencies": {
"electron": "^44.5.1",
"electron-builder": "^26.0.12",
"vite": "^7.1.0"
},
"build": {
"appId": "edu.fudan.pythonrunequest",
"productName": "Python符文纪事",
"electronLanguages": [
"en-US",
"zh-CN"
],
"files": [
"dist/**/*",
"main.cjs",
"package.json",
"assets/app-icon.png"
],
"mac": {
"target": "dmg",
"icon": "assets/app-icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": true,
"timestamp": "http://timestamp.apple.com/ts01",
"entitlements": "assets/entitlements.mac.plist",
"entitlementsInherit": "assets/entitlements.mac.plist",
"artifactName": "PythonRPGGame-${version}-macOS-arm64.${ext}"
},
"win": {
"target": "nsis",
"icon": "assets/app-icon.ico",
"artifactName": "PythonRPGGame-${version}-Windows-x64.${ext}"
},
"linux": {
"target": [
"deb",
"rpm"
],
"icon": "assets/app-icon.png",
"artifactName": "PythonRPGGame-${version}-${ext}-x64.${ext}",
"category": "Education",
"synopsis": "A pixel-art adventure for learning Python",
"maintainer": "zpxu@fudan.edu.cn",
"desktop": {
"entry": {
"Name": "Python Rune Quest",
"Comment": "Learn Python in an illustrated pixel adventure",
"Categories": "Education;Game;"
}
}
},
"icon": "assets/app-icon.png",
"directories": {
"output": "release",
"buildResources": "assets"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
}
},
"type": "module",
"author": "徐志平 · 复旦大学计算与智能创新学院 · 2026",
"license": "GPL-3.0-only"
}